diff options
| author | Adam Janovsky | 2021-03-02 17:07:57 +0100 |
|---|---|---|
| committer | Adam Janovsky | 2021-03-02 17:07:57 +0100 |
| commit | eb004e21a8e199d770b1b593804b4ce78050212c (patch) | |
| tree | 22a0426892729874a39622d6091a6e76db1ace96 | |
| parent | 46955c6e82274d39743a878213a86223546c5ef4 (diff) | |
| download | sec-certs-eb004e21a8e199d770b1b593804b4ce78050212c.tar.gz sec-certs-eb004e21a8e199d770b1b593804b4ce78050212c.tar.zst sec-certs-eb004e21a8e199d770b1b593804b4ce78050212c.zip | |
fix tests
| -rw-r--r-- | test/data/test_cc_oop/fictional_cert.json | 3 | ||||
| -rw-r--r-- | test/data/test_cc_oop/toy_dataset.json | 6 | ||||
| -rw-r--r-- | test/test_cc_oop.py | 3 |
3 files changed, 9 insertions, 3 deletions
diff --git a/test/data/test_cc_oop/fictional_cert.json b/test/data/test_cc_oop/fictional_cert.json index db00b77c..d062ff76 100644 --- a/test/data/test_cc_oop/fictional_cert.json +++ b/test/data/test_cc_oop/fictional_cert.json @@ -50,5 +50,6 @@ "st_frontpage": null, "report_keywords": null, "st_keywords": null - } + }, + "cpe_matching": [] }
\ No newline at end of file diff --git a/test/data/test_cc_oop/toy_dataset.json b/test/data/test_cc_oop/toy_dataset.json index 2ad2cb35..8fda0b54 100644 --- a/test/data/test_cc_oop/toy_dataset.json +++ b/test/data/test_cc_oop/toy_dataset.json @@ -53,7 +53,8 @@ "st_frontpage": null, "report_keywords": null, "st_keywords": null - } + }, + "cpe_matching": [] }, { "_type": "CommonCriteriaCert", @@ -97,7 +98,8 @@ "st_frontpage": null, "report_keywords": null, "st_keywords": null - } + }, + "cpe_matching": [] } ] }
\ No newline at end of file diff --git a/test/test_cc_oop.py b/test/test_cc_oop.py index 332ab3f8..f1df4517 100644 --- a/test/test_cc_oop.py +++ b/test/test_cc_oop.py @@ -32,6 +32,7 @@ class TestCommonCriteriaOOP(TestCase): set(), set(), None, + None, None) self.crt_two = CommonCriteriaCert('active', @@ -51,6 +52,7 @@ class TestCommonCriteriaOOP(TestCase): 'http://commoncriteriaportal.org/files/ppfiles/KECS-PP-0822-2017%20Korean%20National%20PP%20for%20Single%20Sign%20On%20V1.0(eng).pdf')}, set(), None, + None, None) pp = CommonCriteriaCert.ProtectionProfile('sample_pp', 'http://sample.pp') @@ -71,6 +73,7 @@ class TestCommonCriteriaOOP(TestCase): {pp}, {update}, None, + None, None) self.template_dataset = CCDataset({self.crt_one.dgst: self.crt_one, self.crt_two.dgst: self.crt_two}, Path('/fictional/path/to/dataset'), 'toy dataset', 'toy dataset description') self.template_dataset.timestamp = datetime(2020, 11, 16, hour=17, minute=4, second=14, microsecond=770153) |
