mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Sorted the names so they'd go in a predictable order.
This commit is contained in:
parent
ab2bea589a
commit
baa9922f5f
@ -395,6 +395,7 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
world.testing = True
|
world.testing = True
|
||||||
names = [os.path.splitext(os.path.basename(name))[0] for name in args]
|
names = [os.path.splitext(os.path.basename(name))[0] for name in args]
|
||||||
|
names.sort()
|
||||||
suite = unittest.defaultTestLoader.loadTestsFromNames(names)
|
suite = unittest.defaultTestLoader.loadTestsFromNames(names)
|
||||||
runner = unittest.TextTestRunner(verbosity=2)
|
runner = unittest.TextTestRunner(verbosity=2)
|
||||||
runner.run(suite)
|
runner.run(suite)
|
||||||
|
Loading…
Reference in New Issue
Block a user