Skip to content

Commit 547401c

Browse files
committed
add tdamm tags to the api serializer tests
1 parent de20d47 commit 547401c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sde_collections/tests/test_apis.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def test_delta_url_api_serializer_fields(self, client):
5858

5959
assert response.status_code == status.HTTP_200_OK
6060
data = response.json()["results"][0]
61-
expected_fields = {"url", "title", "document_type", "file_extension", "tree_root"}
61+
expected_fields = {"url", "title", "document_type", "file_extension", "tree_root", "tdamm_tag"}
6262
assert set(data.keys()) == expected_fields
6363

6464
def test_delta_url_api_pagination(self, client):
@@ -122,7 +122,7 @@ def test_curated_url_api_serializer_fields(self, client):
122122

123123
assert response.status_code == status.HTTP_200_OK
124124
data = response.json()["results"][0]
125-
expected_fields = {"url", "title", "document_type", "file_extension", "tree_root"}
125+
expected_fields = {"url", "title", "document_type", "file_extension", "tree_root", "tdamm_tag"}
126126
assert set(data.keys()) == expected_fields
127127

128128
def test_candidate_url_api_alias(self, client):
@@ -217,7 +217,7 @@ def test_candidate_url_api_serializer_fields(self, client):
217217

218218
assert response.status_code == status.HTTP_200_OK
219219
data = response.json()["results"][0]
220-
expected_fields = {"url", "title", "document_type", "file_extension", "tree_root"}
220+
expected_fields = {"url", "title", "document_type", "file_extension", "tree_root", "tdamm_tag"}
221221
assert set(data.keys()) == expected_fields
222222

223223
def test_candidate_url_api_alias(self, client):

0 commit comments

Comments
 (0)