Skip to content

Commit

Permalink
Swap assertEquals for assertEqual
Browse files Browse the repository at this point in the history
  • Loading branch information
thebeanogamer committed Oct 23, 2021
1 parent e961c5f commit d69b333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/challenge/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ def test_create_challenge_metadata_saves(self):
format="json",
)
response = self.client.get(reverse("challenges-detail", kwargs={"pk": self.challenge1.pk}))
self.assertEquals(response.data["challenge_metadata"], metadata)
self.assertEqual(response.data["challenge_metadata"], metadata)


class FlagCheckViewTestCase(ChallengeSetupMixin, APITestCase):
Expand Down

0 comments on commit d69b333

Please sign in to comment.