|
|
@ -27,9 +27,8 @@ def _run_all_detectors(slither: Slither) -> None: |
|
|
|
|
|
|
|
|
|
|
|
hardhat_available = shutil.which("hardhat") is not None |
|
|
|
hardhat_available = shutil.which("hardhat") is not None |
|
|
|
|
|
|
|
|
|
|
|
@pytest.mark.skipif( |
|
|
|
|
|
|
|
not hardhat_available, reason="requires Hardhat and project setup" |
|
|
|
@pytest.mark.skipif(not hardhat_available, reason="requires Hardhat and project setup") |
|
|
|
) |
|
|
|
|
|
|
|
def test_node() -> None: |
|
|
|
def test_node() -> None: |
|
|
|
# hardhat must have been installed in tests/test_node_modules |
|
|
|
# hardhat must have been installed in tests/test_node_modules |
|
|
|
# For the CI its done through the github action config |
|
|
|
# For the CI its done through the github action config |
|
|
|