aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/cc/test_cc_protection_profiles.py
diff options
context:
space:
mode:
authoradamjanovsky2025-02-13 13:28:31 +0100
committerGitHub2025-02-13 13:28:31 +0100
commit443d38c9cf6d6e76c6667484a185839dd821fd11 (patch)
tree508ac726d9408dc4917c1ced920f53447e9b64ac /tests/cc/test_cc_protection_profiles.py
parentbdbd974847b713d14ccd90b617bae4e41447c09e (diff)
parentba6da69bffd99a49a830de988af300108f3f8d80 (diff)
downloadsec-certs-0.3.1.tar.gz
sec-certs-0.3.1.tar.zst
sec-certs-0.3.1.zip
Merge pull request #473 from crocs-muni/pre-release-fixes0.3.1
Pre-release fixes
Diffstat (limited to 'tests/cc/test_cc_protection_profiles.py')
-rw-r--r--tests/cc/test_cc_protection_profiles.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cc/test_cc_protection_profiles.py b/tests/cc/test_cc_protection_profiles.py
index b8d2e821..29cee8b7 100644
--- a/tests/cc/test_cc_protection_profiles.py
+++ b/tests/cc/test_cc_protection_profiles.py
@@ -13,7 +13,7 @@ def test_dataset_from_json(toy_pp_dataset: ProtectionProfileDataset, pp_data_dir
with (tmp_path / "dset.json").open("r") as handle:
data = json.load(handle)
- with (pp_data_dir / "pp.json").open("r") as handle:
+ with (pp_data_dir / "dataset.json").open("r") as handle:
template_data = json.load(handle)
del data["timestamp"]
@@ -22,7 +22,7 @@ def test_dataset_from_json(toy_pp_dataset: ProtectionProfileDataset, pp_data_dir
def test_dataset_to_json(toy_pp_dataset: ProtectionProfileDataset, pp_data_dir: Path, tmp_path: Path):
- assert toy_pp_dataset == ProtectionProfileDataset.from_json(pp_data_dir / "pp.json")
+ assert toy_pp_dataset == ProtectionProfileDataset.from_json(pp_data_dir / "dataset.json")
compressed_path = tmp_path / "dset.json.gz"
toy_pp_dataset.to_json(compressed_path, compress=True)
decompressed_dataset = ProtectionProfileDataset.from_json(compressed_path, is_compressed=True)