aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorAdam Janovsky2021-11-02 10:57:11 +0100
committerAdam Janovsky2021-11-02 10:57:11 +0100
commit5b0d100e6663eb6c0e8ed395ba6774aeada3f779 (patch)
treec3537d0f436da9a16703673d017cd170e0c41d73 /tests
parente6c0469072718b8c69ee618a665d72d67bb0ee0f (diff)
downloadsec-certs-5b0d100e6663eb6c0e8ed395ba6774aeada3f779.tar.gz
sec-certs-5b0d100e6663eb6c0e8ed395ba6774aeada3f779.tar.zst
sec-certs-5b0d100e6663eb6c0e8ed395ba6774aeada3f779.zip
improve serialization
Diffstat (limited to 'tests')
-rw-r--r--tests/test_cc_heuristics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_cc_heuristics.py b/tests/test_cc_heuristics.py
index b2e439e6..05b07712 100644
--- a/tests/test_cc_heuristics.py
+++ b/tests/test_cc_heuristics.py
@@ -68,7 +68,7 @@ class TestCommonCriteriaHeuristics(TestCase):
def test_load_cpe_dataset(self):
json_cpe_dset = CPEDataset.from_json(self.data_dir_path / 'auxillary_datasets' / 'cpe_dataset.json')
- json_cpe_dset._json_path = Path('../')
+ json_cpe_dset.json_path = Path('../')
self.assertEqual(self.cpe_dset, json_cpe_dset, 'CPE template dataset does not match CPE dataset loaded from json.')
def test_cpe_lookup_dicts(self):