Skip to content

Commit a6ec80d

Browse files
committed
Fix python3 compatibility in recently enabled test
1 parent c4d8dad commit a6ec80d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djangosaml2/tests/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ def test_logout_service_local(self):
360360
'SAMLResponse': deflate_and_base64_encode(saml_response),
361361
})
362362
self.assertContains(response, "Logged out", status_code=200)
363-
self.assertEqual(self.client.session.keys(), [])
363+
self.assertListEqual(list(self.client.session.keys()), [])
364364

365365
def test_logout_service_global(self):
366366
settings.SAML_CONFIG = conf.create_conf(

0 commit comments

Comments
 (0)