Skip to content

Commit 5a06276

Browse files
albert.zecherumvantellingen
authored andcommitted
Added assert for accepted string type for xsd:base64Binary.
1 parent df0ce40 commit 5a06276

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_xsd_builtins.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,10 @@ class TestBase64Binary:
380380
def test_xmlvalue(self):
381381
instance = builtins.Base64Binary()
382382
assert instance.xmlvalue(b"hoi") == b"aG9p"
383+
assert (
384+
instance.xmlvalue("aG9p")
385+
== "aG9p"
386+
)
383387

384388
def test_pythonvalue(self):
385389
instance = builtins.Base64Binary()

0 commit comments

Comments
 (0)