(self)
| 49 | self.assertEqual(data_element.get('b'), 9) |
| 50 | |
| 51 | def test_nsmap(self): |
| 52 | self.assertEqual(DataElement('foo').nsmap, {}) |
| 53 | nsmap = {'tns': 'http://xmlschema.test/ns'} |
| 54 | self.assertEqual(DataElement('foo', nsmap=nsmap).nsmap, nsmap) |
| 55 | self.assertIsNot(DataElement('foo', nsmap=nsmap).nsmap, nsmap) |
| 56 | |
| 57 | def test_attributes_with_namespaces(self): |
| 58 | nsmap = {'tns': 'http://xmlschema.test/ns'} |
nothing calls this directly
no test coverage detected