Skip to content

Commit

Permalink
fix refs based on latest WCMP2 updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Feb 12, 2024
1 parent 2bc60b6 commit 4827f39
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pywcmp/wcmp2/ets.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def test_requirement_identifier(self):
status['message'] = 'identifier does not have at least five tokens'
return status

if not identifier.startswith('urn:x-wmo:md:'):
if not identifier.startswith('urn:wmo:md:'):
status['code'] = 'FAILED'
status['message'] = 'bad prefix'
return status
Expand Down
2 changes: 1 addition & 1 deletion tests/data/wcmp2-failing.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "urn:x-wmo:md:ca-eccc-msc:weather.observations.swob-realtime",
"id": "urn:wmo:md:ca-eccc-msc:weather.observations.swob-realtime",
"conformsTo": [
"bad-uri"
],
Expand Down
2 changes: 1 addition & 1 deletion tests/data/wcmp2-passing.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "urn:x-wmo:md:ca-eccc-msc:weather.observations.swob-realtime",
"id": "urn:wmo:md:ca-eccc-msc:weather.observations.swob-realtime",
"conformsTo": [
"http://wis.wmo.int/spec/wcmp/2/conf/core"
],
Expand Down

0 comments on commit 4827f39

Please sign in to comment.