Run fewer tests

This commit is contained in:
Michael Droettboom 2018-04-19 14:01:05 -04:00
parent af0d3fb261
commit ea3006aa79
1 changed files with 4 additions and 0 deletions

View File

@ -56,4 +56,8 @@ def pytest_generate_tests(metafunc):
parts = line.split()
if len(parts) == 1:
test_modules.append(parts[0])
# XXX: The tests take too long to run, so we're just doing a
# sanity check on the first 25
if len(test_modules) > 25:
break
metafunc.parametrize("python_test", test_modules)