Skip to content
Snippets Groups Projects
Commit 03ad1277 authored by gback's avatar gback
Browse files

fixed bug when running single tests with -t

parent 3de2ed38
No related branches found
No related tags found
No related merge requests found
......@@ -105,12 +105,12 @@ for opt, arg in opts:
grade_mode = True
elif opt == '-t':
filtered = arg.split(',')
for filter in filtered:
for _filter in filtered:
for test in tests:
if filter == test.name:
if _filter == test.name:
break
else:
print ('Unknown test: %s. Use -l to list test names.' % filter)
print ('Unknown test: %s. Use -l to list test names.' % _filter)
usage()
sys.exit()
oldrunfilter = runfilter
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment