Commit 3736e9f4 by Fábián János

Replace assertItemsEqual with assertCountEqual (python 3.3)

parent 37460267
......@@ -1900,7 +1900,7 @@ class TwoFactorTest(LoginMixin, TestCase):
def test_straight_to_2fa_as_anonymous(self):
c = Client()
response = c.get("/two-factor-login/", follow=True)
self.assertItemsEqual(
self.assertCountEqual(
response.redirect_chain,
[('/', 302),
('/dashboard/', 302),
......@@ -1911,7 +1911,7 @@ class TwoFactorTest(LoginMixin, TestCase):
c = Client()
self.login(c, 'user2')
response = c.get("/two-factor-login/", follow=True)
self.assertItemsEqual(
self.assertCountEqual(
response.redirect_chain,
[('/', 302),
('/dashboard/', 302)]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment