summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2022-08-23 18:21:28 +0300
committerIvan Kanakarakis <ivan.kanak@gmail.com>2022-08-23 18:21:28 +0300
commit51bb37ffe263f79493e0bedcdda7cc0cac9e2787 (patch)
tree0257295a59dd7b7ece602790d0cddd76d0646973
parente16beb6fdf84d6596d0cc01b0b41ca25b47c6fe9 (diff)
downloadpysaml2-51bb37ffe263f79493e0bedcdda7cc0cac9e2787.tar.gz
Fix test with latest xmlschema
Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
-rw-r--r--tests/entity_cat_sfs_hei.xml8
-rw-r--r--tests/servera.xml4
2 files changed, 4 insertions, 8 deletions
diff --git a/tests/entity_cat_sfs_hei.xml b/tests/entity_cat_sfs_hei.xml
index 6b05f1c2..3521eedd 100644
--- a/tests/entity_cat_sfs_hei.xml
+++ b/tests/entity_cat_sfs_hei.xml
@@ -9,12 +9,8 @@
<ns0:Extensions>
<ns1:EntityAttributes>
<ns2:Attribute Name="http://macedir.org/entity-category">
- <ns2:AttributeValue xsi:type="xs:string">
- http://www.swamid.se/category/sfs-1993-1153
- </ns2:AttributeValue>
- <ns2:AttributeValue xsi:type="xs:string">
- http://www.swamid.se/category/hei-service
- </ns2:AttributeValue>
+ <ns2:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">http://www.swamid.se/category/sfs-1993-1153</ns2:AttributeValue>
+ <ns2:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">http://www.swamid.se/category/hei-service</ns2:AttributeValue>
</ns2:Attribute>
</ns1:EntityAttributes>
</ns0:Extensions>
diff --git a/tests/servera.xml b/tests/servera.xml
index fe80d9d7..b784aba5 100644
--- a/tests/servera.xml
+++ b/tests/servera.xml
@@ -10,8 +10,8 @@
<ns0:Extensions>
<ns1:EntityAttributes>
<ns2:Attribute Name="http://macedir.org/entity-category">
- <ns2:AttributeValue xsi:type="xs:string">http://www.swamid.se/category/sfs-1993-1153</ns2:AttributeValue>
- <ns2:AttributeValue xsi:type="xs:string">http://www.swamid.se/category/hei-service</ns2:AttributeValue>
+ <ns2:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">http://www.swamid.se/category/sfs-1993-1153</ns2:AttributeValue>
+ <ns2:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">http://www.swamid.se/category/hei-service</ns2:AttributeValue>
</ns2:Attribute>
</ns1:EntityAttributes>
</ns0:Extensions>