Commit 3a625fad authored by Michael Droettboom's avatar Michael Droettboom

Only skip tests if on Travis

parent 1e45ffe9
import os
import pathlib
import time
import pytest
def test_init(selenium):
assert 'Python initialization complete' in selenium.logs
......@@ -96,6 +95,6 @@ def pytest_generate_tests(metafunc):
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:
if 'TRAVIS' in os.environ and len(test_modules) > 25:
break
metafunc.parametrize("python_test", test_modules)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment