@@ -16,7 +16,7 @@ def setUp(self):
16
16
def test_no_id_error (self ):
17
17
co = self .collectionobjects [0 ]
18
18
response = self .c .post (
19
- "/api/specify /catalog_number_for_sibling/" ,
19
+ "/inheritance /catalog_number_for_sibling/" ,
20
20
json .dumps (dict (catalognumber = co .catalognumber )),
21
21
content_type = "application/json"
22
22
)
@@ -27,7 +27,7 @@ def test_no_id_error(self):
27
27
def test_invalid_body (self ):
28
28
co = self .collectionobjects [0 ]
29
29
response = self .c .post (
30
- "/api/specify /catalog_number_for_sibling/" ,
30
+ "/inheritance /catalog_number_for_sibling/" ,
31
31
"Not a JSON: Value" ,
32
32
content_type = "application/json"
33
33
)
@@ -38,7 +38,7 @@ def test_invalid_body(self):
38
38
def test_simple_co (self ):
39
39
co = self .collectionobjects [0 ]
40
40
response = self .c .post (
41
- "/api/specify /catalog_number_for_sibling/" ,
41
+ "/inheritance /catalog_number_for_sibling/" ,
42
42
json .dumps (dict (id = co .id )),
43
43
content_type = "application/json"
44
44
)
@@ -49,7 +49,7 @@ def test_simple_co(self):
49
49
def test_simple_co_catalognumber (self ):
50
50
co = self .collectionobjects [0 ]
51
51
response = self .c .post (
52
- "/api/specify /catalog_number_for_sibling/" ,
52
+ "/inheritance /catalog_number_for_sibling/" ,
53
53
json .dumps (dict (id = co .id )),
54
54
content_type = "application/json"
55
55
)
@@ -65,7 +65,7 @@ def test_self_is_primary(self):
65
65
66
66
co = self .collectionobjects [0 ]
67
67
response = self .c .post (
68
- "/api/specify /catalog_number_for_sibling/" ,
68
+ "/inheritance /catalog_number_for_sibling/" ,
69
69
json .dumps (dict (id = co .id , catalognumber = None )),
70
70
content_type = "application/json"
71
71
)
@@ -81,7 +81,7 @@ def test_other_is_primary(self):
81
81
82
82
for co in self .collectionobjects [1 :3 ]:
83
83
response = self .c .post (
84
- "/api/specify /catalog_number_for_sibling/" ,
84
+ "/inheritance /catalog_number_for_sibling/" ,
85
85
json .dumps (dict (id = co .id )),
86
86
content_type = "application/json"
87
87
)
@@ -97,7 +97,7 @@ def test_none_is_primary(self):
97
97
98
98
for co in self .collectionobjects [1 :3 ]:
99
99
response = self .c .post (
100
- "/api/specify /catalog_number_for_sibling/" ,
100
+ "/inheritance /catalog_number_for_sibling/" ,
101
101
json .dumps (dict (id = co .id )),
102
102
content_type = "application/json"
103
103
)
0 commit comments