|
27 | 27 | from referencing import Registry, Resource |
28 | 28 |
|
29 | 29 | import ssvc.decision_points # noqa F401 |
30 | | - |
31 | | -# importing these causes the decision points to register themselves |
32 | | -from ssvc.decision_points.ssvc.critical_software import ( |
33 | | - CRITICAL_SOFTWARE_1, |
34 | | -) # noqa |
35 | | -from ssvc.decision_points.ssvc.high_value_asset import ( |
36 | | - HIGH_VALUE_ASSET_1, |
37 | | -) # noqa |
38 | | - |
39 | 30 | # importing these causes the decision points to register themselves |
40 | 31 | from ssvc.dp_groups.ssvc.collections import SSVCv1, SSVCv2, SSVCv2_1 # noqa |
41 | 32 | from ssvc.registry import get_registry |
42 | 33 | from ssvc.registry.base import get_all |
43 | 34 |
|
44 | 35 |
|
| 36 | +# importing these causes the decision points to register themselves |
| 37 | + |
| 38 | + |
45 | 39 | def retrieve_local(uri: str) -> Resource: |
46 | 40 | # retrieve_local gets called anytime we're trying to get a schema. |
47 | 41 | # Because our schemas refer to each other by https: uris, we need this function |
@@ -90,7 +84,7 @@ def test_confirm_registered_decision_points(self): |
90 | 84 |
|
91 | 85 | def test_decision_point_validation(self): |
92 | 86 | schema_path = os.path.join( |
93 | | - self.schema_dir, "Decision_Point-2-0-0.schema.json" |
| 87 | + self.schema_dir, "DecisionPoint_2_0_0.schema.json" |
94 | 88 | ) |
95 | 89 | schema_path = os.path.abspath(schema_path) |
96 | 90 |
|
@@ -118,7 +112,7 @@ def test_decision_point_validation(self): |
118 | 112 |
|
119 | 113 | def test_decision_point_group_validation(self): |
120 | 114 | schema_path = os.path.join( |
121 | | - self.schema_dir, "Decision_Point_Group-2-0-0.schema.json" |
| 115 | + self.schema_dir, "DecisionPointGroup_2_0_0.schema.json" |
122 | 116 | ) |
123 | 117 | schema_path = os.path.abspath(schema_path) |
124 | 118 |
|
|
0 commit comments