We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7f18c4 commit d470eb3Copy full SHA for d470eb3
tests/test_02_saml.py
@@ -225,12 +225,13 @@ def test_make_vals_multi_dict(self):
225
def test_to_string_nspair(self):
226
foo = saml2.make_vals("lions", AttributeValue, part=True)
227
txt = foo.to_string().decode('utf-8')
228
- nsstr = foo.to_string({"saml": saml.NAMESPACE}).decode('utf-8')
+ nsstr = foo.to_string({"saml2": saml.NAMESPACE}).decode('utf-8')
229
assert nsstr != txt
230
print(txt)
231
print(nsstr)
232
- assert "saml:AttributeValue" in nsstr
233
- assert "saml:AttributeValue" not in txt
+ assert "saml2:AttributeValue" in nsstr
+ assert "saml2:AttributeValue" not in txt
234
+ assert "saml:AttributeValue" in txt
235
236
def test_set_text_empty(self):
237
av = AttributeValue()
0 commit comments