From ed5d61787ee45b7eb18631aa0d0eb15af75daf22 Mon Sep 17 00:00:00 2001 From: Clint Byrum Date: Tue, 26 May 2015 15:23:07 -0700 Subject: [PATCH] Fix list type assumption in test_03_saml2 --- tests/test_03_saml2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_03_saml2.py b/tests/test_03_saml2.py index 3684b79..136161a 100644 --- a/tests/test_03_saml2.py +++ b/tests/test_03_saml2.py @@ -548,5 +548,5 @@ def test_extensions_loadd(): assert _eq(nid.attributes.keys(), ["Format"]) assert nid.text.strip() == "http://federationX.org" - assert extension.extension_attributes.keys() == ["foo"] + assert list(extension.extension_attributes.keys()) == ["foo"] assert extension.extension_attributes["foo"] == "bar"