diff --git a/tests/end_to_end/test_vulnerability_detector/test_vulnerability_detector.py b/tests/end_to_end/test_vulnerability_detector/test_vulnerability_detector.py index 549e33ad74..8029812d03 100644 --- a/tests/end_to_end/test_vulnerability_detector/test_vulnerability_detector.py +++ b/tests/end_to_end/test_vulnerability_detector/test_vulnerability_detector.py @@ -109,7 +109,7 @@ def load_vulnerability_detector_configurations(host_manager): return configurations -@pytest.fixture(scope='module') +@pytest.fixture(scope='module', autouse=True) def install_npm(host_manager: HostManager): """Ensure npm is installed on macOS agents.""" for host in host_manager.get_group_hosts('agent'):