Skip to content

Commit

Permalink
Updating test yara file names to avoid name issues in test files repo
Browse files Browse the repository at this point in the history
  • Loading branch information
jconnor0426 committed Aug 31, 2023
1 parent 400bc89 commit 8a0fa9d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions tests/test_scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def test_bulk_process(tmp_path):
pytest.param(
"match-2-yar.py",
[get_data_path("9324d1a8ae37a36ae560c37448c9705a.exe_")],
"yara/expected_9324d1a8ae37a36ae560c37448c9705a.exe_.yar",
"yara/expected_9324d1a8ae37a36ae560c37448c9705a.yar",
),
# Test match-2-yar x64 EXE
pytest.param(
Expand All @@ -101,7 +101,7 @@ def test_bulk_process(tmp_path):
"dotnet",
get_data_path("dotnet/1c444ebeba24dcba8628b7dfe5fec7c6.exe_"),
],
"yara/expected_1c444ebeba24dcba8628b7dfe5fec7c6.exe_.yar",
"yara/expected_1c444ebeba24dcba8628b7dfe5fec7c6.yar",
),
# Test match-2-yar files with multiple X86 PEs
pytest.param(
Expand All @@ -111,7 +111,7 @@ def test_bulk_process(tmp_path):
get_data_path("Practical Malware Analysis Lab 11-03.exe_"),
get_data_path("Practical Malware Analysis Lab 16-01.exe_"),
],
"yara/expected_pma_03-04.exe_11-03.exe_16-01.exe",
"yara/expected_pma_03-04_11-03_16-01.yar",
),
# Test match-2-yar files with CAPA file limitations are filtered out of multi sample
pytest.param(
Expand All @@ -120,7 +120,7 @@ def test_bulk_process(tmp_path):
get_data_path("Practical Malware Analysis Lab 01-01.exe_"),
get_data_path("Practical Malware Analysis Lab 01-02.exe_"),
],
"yara/expected_pma_01-01.exe_01-02.exe",
"yara/expected_pma_01-01_01-02.yar",
),
# Test match-2-yar multiple x86 .NET PE
pytest.param(
Expand Down

0 comments on commit 8a0fa9d

Please sign in to comment.