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

Method test_repr

tests/test_dataobjects.py:30–31  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

28class TestDataElementInterface(unittest.TestCase):
29
30 def test_repr(self):
31 self.assertEqual(repr(DataElement('foo')), "DataElement(tag='foo')")
32
33 def test_value(self):
34 self.assertIsNone(DataElement('foo').value)

Callers

nothing calls this directly

Calls 1

DataElementClass · 0.90

Tested by

no test coverage detected