|
|
@@ -35,8 +35,7 @@ def get_tests(): |
|
|
|
if dir_path=='.': |
|
|
|
ret.append(test_file[:-3]) |
|
|
|
else: |
|
|
|
ret.append(dir_path.replace('/', '.') + '.' + test_file[:-3]) |
|
|
|
|
|
|
|
ret.append(dir_path.replace('/', '.') + '.' + test_file[:-3]) |
|
|
|
return ret |
|
|
|
|
|
|
|
def setup(): |
|
|
@@ -61,4 +60,4 @@ if __name__=='__main__': |
|
|
|
for tests in tests_list: |
|
|
|
exec 'from %s import *' % str(tests) |
|
|
|
|
|
|
|
unittest.main() |
|
|
|
unittest.main() |