mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Start counting test numbers at 1 and use _test_n
That allows for nicer select syntax like ```` pytest test/functional/test_toolbox_pytest.py -k '(random_lines1 or Cut1) and _test_1' ```
This commit is contained in:
@@ -46,7 +46,7 @@ def cases():
|
||||
test_class.runTest = lambda : None
|
||||
test_instance = test_class()
|
||||
for index in range(test_instance.test_count):
|
||||
yield (test_name[len(TEST_PREFIX):] + "|%d" % index, test_instance, index)
|
||||
yield (test_name[len(TEST_PREFIX):] + "_test_%d" % (index + 1), test_instance, index)
|
||||
|
||||
|
||||
def idfn(val):
|
||||
|
||||
Reference in New Issue
Block a user