16
16
class TestUdpLink :
17
17
def test_from_link_object_basic (self ):
18
18
data = {
19
- "rel" : "udp " ,
19
+ "rel" : "openeo-process " ,
20
20
"href" : "https://esa-apex.test/udp/basic.json" ,
21
21
}
22
22
link = UdpLink .from_link_object (data )
@@ -25,7 +25,7 @@ def test_from_link_object_basic(self):
25
25
26
26
def test_from_link_object_with_title (self ):
27
27
data = {
28
- "rel" : "udp " ,
28
+ "rel" : "openeo-process " ,
29
29
"href" : "https://esa-apex.test/udp/basic.json" ,
30
30
"title" : "My basic UDP" ,
31
31
}
@@ -50,14 +50,14 @@ def test_from_link_object_wrong_rel(self):
50
50
51
51
def test_from_link_object_no_href (self ):
52
52
data = {
53
- "rel" : "udp " ,
53
+ "rel" : "openeo-process " ,
54
54
}
55
55
with pytest .raises (InvalidMetadataError , match = "Missing 'href' attribute" ):
56
56
_ = UdpLink .from_link_object (data )
57
57
58
58
def test_from_link_object_wrong_type (self ):
59
59
data = {
60
- "rel" : "udp " ,
60
+ "rel" : "openeo-process " ,
61
61
"href" : "https://esa-apex.test/udp/basic.json" ,
62
62
"type" : "application/xml" ,
63
63
}
@@ -128,7 +128,7 @@ def test_from_ogc_api_record_basic(self):
128
128
},
129
129
"links" : [
130
130
{
131
- "rel" : "udp " ,
131
+ "rel" : "openeo-process " ,
132
132
"type" : "application/json" ,
133
133
"title" : "Basic UDP" ,
134
134
"href" : "https://esa-apex.test/udp/basic.json" ,
0 commit comments