MCPcopy Create free account
hub / github.com/sissaschool/xmlschema / test_string_facets

Method test_string_facets

tests/validation/test_decoding.py:1066–1070  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1064 ))
1065
1066 def test_string_facets(self):
1067 none_empty_string_type = self.st_schema.types['none_empty_string']
1068 self.check_decode(none_empty_string_type, '', XMLSchemaValidationError)
1069 name_type = self.st_schema.types['NameType']
1070 self.check_decode(name_type, '', XMLSchemaValidationError)
1071
1072 def test_hex_binary_type(self):
1073 hex_code_type = self.st_schema.types['hexCode']

Callers

nothing calls this directly

Calls 1

check_decodeMethod · 0.95

Tested by

no test coverage detected