Skip to content

Commit 4cb2760

Browse files
committed
Issue #3 update tests to d9189f5
rel=udp was changed to rel-openeo-process
1 parent 2a307f8 commit 4cb2760

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/test_algorithms.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
class TestUdpLink:
1717
def test_from_link_object_basic(self):
1818
data = {
19-
"rel": "udp",
19+
"rel": "openeo-process",
2020
"href": "https://esa-apex.test/udp/basic.json",
2121
}
2222
link = UdpLink.from_link_object(data)
@@ -25,7 +25,7 @@ def test_from_link_object_basic(self):
2525

2626
def test_from_link_object_with_title(self):
2727
data = {
28-
"rel": "udp",
28+
"rel": "openeo-process",
2929
"href": "https://esa-apex.test/udp/basic.json",
3030
"title": "My basic UDP",
3131
}
@@ -50,14 +50,14 @@ def test_from_link_object_wrong_rel(self):
5050

5151
def test_from_link_object_no_href(self):
5252
data = {
53-
"rel": "udp",
53+
"rel": "openeo-process",
5454
}
5555
with pytest.raises(InvalidMetadataError, match="Missing 'href' attribute"):
5656
_ = UdpLink.from_link_object(data)
5757

5858
def test_from_link_object_wrong_type(self):
5959
data = {
60-
"rel": "udp",
60+
"rel": "openeo-process",
6161
"href": "https://esa-apex.test/udp/basic.json",
6262
"type": "application/xml",
6363
}
@@ -128,7 +128,7 @@ def test_from_ogc_api_record_basic(self):
128128
},
129129
"links": [
130130
{
131-
"rel": "udp",
131+
"rel": "openeo-process",
132132
"type": "application/json",
133133
"title": "Basic UDP",
134134
"href": "https://esa-apex.test/udp/basic.json",

0 commit comments

Comments
 (0)