Skip to content

Commit

Permalink
test: mark test as slow
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Jun 1, 2024
1 parent c9c0542 commit 865852e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion tests/test_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 865852e

Please sign in to comment.