We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcffaae commit 9250eb0Copy full SHA for 9250eb0
tests/test_general.py
@@ -252,6 +252,15 @@ def test_explore_page_null_tag(client):
252
assert resp.status_code == 200
253
254
255
+@pytest.mark.django_db
256
+def test_explore_page_null_version(client):
257
+ data = SuppliedData.objects.create()
258
+ data.original_file.save("test.json", ContentFile('{"version":null,"releases":[{}]}'))
259
+ data.current_app = "cove_ocds"
260
+ resp = client.get(data.get_absolute_url())
261
+ assert resp.status_code == 200
262
+
263
264
@pytest.mark.django_db
265
@pytest.mark.parametrize(
266
"json_data",
0 commit comments