diff --git a/tests/schema/test_schema_system_cards.py b/tests/schema/test_schema_system_cards.py index df61be59..3cc96ea1 100644 --- a/tests/schema/test_schema_system_cards.py +++ b/tests/schema/test_schema_system_cards.py @@ -24,6 +24,7 @@ def test_get_system_card(setup: SystemCard) -> None: "assessments": [], "requirements": [], "measures": [], + "references": [], } assert system_card.model_dump() == expected @@ -40,6 +41,7 @@ def test_system_card_update(setup: SystemCard) -> None: "assessments": [], "requirements": [], "measures": [], + "references": [], } system_card.name = "IAMA 1.1" assert system_card.model_dump(exclude_none=True) == expected diff --git a/tests/services/test_instruments_state.py b/tests/services/test_instruments_state.py index 1e78c1b5..9f8dc1ee 100644 --- a/tests/services/test_instruments_state.py +++ b/tests/services/test_instruments_state.py @@ -24,8 +24,8 @@ def system_card_data_with_instruments() -> dict[str, Any]: "name": "test-system-card", "schema_version": "0.0.0", "instruments": [ - {"urn": "urn:nl:aivt:ir:iama:1.0"}, - {"urn": "urn:nl:aivt:ir:aiia:1.0"}, + {"urn": "urn:nl:aivt:tr:iama:1.0"}, + {"urn": "urn:nl:aivt:tr:aiia:1.0"}, {"urn": "urn:instrument:assessment"}, ], "assessments": [ @@ -175,9 +175,9 @@ def test_get_state_per_instrument(system_card: SystemCard): instrument_state_service = InstrumentStateService(system_card) res = instrument_state_service.get_state_per_instrument() assert res == [ - {"urn": "urn:nl:aivt:ir:aiia:1.0", "in_progress": 1, "name": "AI Impact Assessment (AIIA)"}, + {"urn": "urn:nl:aivt:tr:aiia:1.0", "in_progress": 1, "name": "AI Impact Assessment (AIIA)"}, { - "urn": "urn:nl:aivt:ir:iama:1.0", + "urn": "urn:nl:aivt:tr:iama:1.0", "in_progress": 1, "name": "Impact Assessment Mensenrechten en Algoritmes (IAMA)", },