From c3de11d698971fd6a1ab05928a0655e20436833f Mon Sep 17 00:00:00 2001 From: Timo Pollmeier Date: Thu, 9 Jan 2025 09:58:00 +0100 Subject: [PATCH] Update filename in CPE match JSON writer tests The filename now uses underscores, so the tests are updated accordingly. --- tests/cpe_match/worker/test_json.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cpe_match/worker/test_json.py b/tests/cpe_match/worker/test_json.py index 8c0a316..8807458 100644 --- a/tests/cpe_match/worker/test_json.py +++ b/tests/cpe_match/worker/test_json.py @@ -162,7 +162,7 @@ async def test_write_json(self): async with asyncio.timeout(10): await processor.run() - temp_file_path: Path = temp_storage_path / "nvd-cpe-matches.json" + temp_file_path: Path = temp_storage_path / "nvd_cpe_matches.json" self.assertTrue(temp_file_path.exists()) with open(temp_file_path) as fp: parsed_json = json.load(fp) @@ -215,7 +215,7 @@ async def test_write_json_minimal(self): async with asyncio.timeout(10): await processor.run() - temp_file_path: Path = temp_storage_path / "nvd-cpe-matches.json" + temp_file_path: Path = temp_storage_path / "nvd_cpe_matches.json" self.assertTrue(temp_file_path.exists()) with open(temp_file_path) as fp: parsed_json = json.load(fp)