mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Fixed bug in argument handling
This commit is contained in:
parent
073188eb25
commit
6b4636e8ae
@ -42,7 +42,7 @@ import unittest
|
||||
|
||||
if __name__ == '__main__':
|
||||
if len(sys.argv) > 1:
|
||||
names = sys.argv[1:]
|
||||
files = sys.argv[1:]
|
||||
else:
|
||||
files = glob.glob(os.path.join('test', '*_test.py'))
|
||||
names = [os.path.splitext(os.path.basename(file))[0] for file in files]
|
||||
|
Loading…
Reference in New Issue
Block a user