diff --git a/pyproject.toml b/pyproject.toml index 25c0ffc..00925ba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,10 @@ addopts = """ """ python_files = "test_*.py" testpaths = "tests" -markers = "fuzzing: Run Hypothesis fuzz test suite" +markers = """ +fuzzing: Run Hypothesis fuzz test suite +install: Tests that will install a solc version (slow) +""" [tool.isort] line_length = 100 diff --git a/tests/test_compiler.py b/tests/test_compiler.py index 3fd0826..7b0cc44 100644 --- a/tests/test_compiler.py +++ b/tests/test_compiler.py @@ -572,7 +572,8 @@ def test_compile_via_ir(project, compiler): path.unlink() -def test_compile_missing_version(project, compiler, temp_solcx_path): +@pytest.mark.install +def test_installs_from_compile(project, compiler, temp_solcx_path): """ Test the compilation of a contract with no defined pragma spec.