Skip to content

Commit

Permalink
Fix a couple of None comparisons in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tuomas777 committed Aug 21, 2023
1 parent 74dc811 commit 1939196
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions linkedevents/tests/test_api_root_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ def test_return_correct_routes(api_client):
)
assert response.data["signup"] == "http://testserver/v1/signup/"
assert len(response.data) == 12
assert response.data.get("data_source") == None
assert response.data.get("organization_class") == None
assert response.data.get("feedback") == None
assert response.data.get("guest-feedback") == None
assert response.data.get("data_source") is None
assert response.data.get("organization_class") is None
assert response.data.get("feedback") is None
assert response.data.get("guest-feedback") is None


def test_has_correct_name(api_client):
Expand Down

0 comments on commit 1939196

Please sign in to comment.