Skip to content

Commit

Permalink
tests for net json render should not fail any more
Browse files Browse the repository at this point in the history
  • Loading branch information
csae8092 committed Jan 24, 2024
1 parent b955187 commit 4927b2d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions apis_core/apis_entities/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,12 +290,8 @@ def test_020_api_list_view(self):
r = client.get(value)
self.assertTrue(r.status_code, 200)
if key.startswith("relation"):
try:
r = client.get(f"{value}?format=json%2Bnet")
self.assertTrue(r.status_code, 200)
except Exception as e:
print(value, e)
continue
r = client.get(f"{value}?format=json%2Bnet")
self.assertTrue(r.status_code, 200)

def test_021_api_detail_view(self):
item = Person.objects.last()
Expand Down

0 comments on commit 4927b2d

Please sign in to comment.