mirror of https://github.com/pyodide/pyodide.git
Only skip tests if on Travis
This commit is contained in:
parent
1e45ffe957
commit
3a625fad3d
|
@ -1,8 +1,7 @@
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue