Skip to content

Commit

Permalink
Update filename in CPE match JSON writer tests
Browse files Browse the repository at this point in the history
The filename now uses underscores, so the tests are updated accordingly.
  • Loading branch information
timopollmeier committed Jan 9, 2025
1 parent 35c6d2f commit c3de11d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/cpe_match/worker/test_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit c3de11d

Please sign in to comment.