equal
deleted
inserted
replaced
8 import unittest |
8 import unittest |
9 |
9 |
10 # finds the test files, should start with Test and finnish with .py |
10 # finds the test files, should start with Test and finnish with .py |
11 test_file_strings = glob.glob('Test*.py') |
11 test_file_strings = glob.glob('Test*.py') |
12 |
12 |
13 # test_file_strings = ["TestBake.py"] |
13 #test_file_strings = ["TestModuleSource.py"] |
14 # puts the file in the format of modules to be imported |
14 # puts the file in the format of modules to be imported |
15 module_strings = ["test."+str[0:len(str)-3] for str in test_file_strings] |
15 module_strings = ["test."+str[0:len(str)-3] for str in test_file_strings] |
16 |
16 |
17 # search for the tests on the modules |
17 # search for the tests on the modules |
18 suites = [unittest.defaultTestLoader.loadTestsFromName(str) for str |
18 suites = [unittest.defaultTestLoader.loadTestsFromName(str) for str |