mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-30 14:14:37 +01:00
Forgot to change test.py based on change in testing module names.
This commit is contained in:
parent
80e4dfbe63
commit
7e1eb72849
@ -81,7 +81,7 @@ if __name__ == '__main__':
|
||||
if len(sys.argv) > 1:
|
||||
files = sys.argv[1:]
|
||||
else:
|
||||
files = glob.glob(os.path.join('test', '*_test.py'))
|
||||
files = glob.glob(os.path.join('test', 'test_*.py'))
|
||||
names = [os.path.splitext(os.path.basename(file))[0] for file in files]
|
||||
suite = unittest.defaultTestLoader.loadTestsFromNames(names)
|
||||
runner = unittest.TextTestRunner(verbosity=2)
|
||||
|
Loading…
Reference in New Issue
Block a user