Skip to content

Commit

Permalink
Use identity check for comparison to a singleton
Browse files Browse the repository at this point in the history
  • Loading branch information
deepsource-autofix[bot] authored Jul 8, 2021
1 parent b6fc37b commit c1bcb29
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def test_authenticate_user_internal(self):
response = self.post(self.authenticate_user_internal_url, None)
assert response.status_code == 200
data = json.loads(response.content)
assert data["success"] == True
assert data["success"] is True
assert data["username"] == user().email

def test_check_version_bad_request(self):
Expand Down

0 comments on commit c1bcb29

Please sign in to comment.