diff --git a/tests/fixtures.py b/tests/fixtures.py index ddd6e87e..41a656dd 100644 --- a/tests/fixtures.py +++ b/tests/fixtures.py @@ -416,7 +416,7 @@ def get_data_path_by_name(name) -> Path: / "data" / "dynamic" / "vmray" - / "93b2d1840566f45fab674ebc79a9d19c88993bcb645e0357f3cb584d16e7c795_archive.zip" + / "93b2d1840566f45fab674ebc79a9d19c88993bcb645e0357f3cb584d16e7c795_min_archive.zip" ) elif name.startswith("ea2876"): return CD / "data" / "ea2876e9175410b6f6719f80ee44b9553960758c7d0f7bed73c0fe9a78d8e669.dll_" diff --git a/tests/test_scripts.py b/tests/test_scripts.py index 097f11e3..06a6e9fe 100644 --- a/tests/test_scripts.py +++ b/tests/test_scripts.py @@ -27,7 +27,7 @@ def get_binary_file_path(): return str(CD / "data" / "9324d1a8ae37a36ae560c37448c9705a.exe_") -def get_report_file_path(): +def get_cape_report_file_path(): return str( CD / "data" @@ -63,9 +63,10 @@ def get_rule_path(): pytest.param("show-capabilities-by-function.py", [get_binary_file_path()]), pytest.param("show-features.py", [get_binary_file_path()]), pytest.param("show-features.py", ["-F", "0x407970", get_binary_file_path()]), - pytest.param("show-features.py", ["-P", "MicrosoftEdgeUpdate.exe", get_report_file_path()]), + pytest.param("show-features.py", ["-P", "MicrosoftEdgeUpdate.exe", get_cape_report_file_path()]), pytest.param("show-unused-features.py", [get_binary_file_path()]), pytest.param("capa-as-library.py", [get_binary_file_path()]), + # not testing "minimize-vmray-results.py" as we don't currently upload full VMRay analysis archives ], ) def test_scripts(script, args):