MCPcopy Create free account
hub / github.com/STIXProject/python-stix / test_round_trip_full_dict

Method test_round_trip_full_dict

stix/test/__init__.py:145–152  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

143
144 @silence_warnings
145 def test_round_trip_full_dict(self):
146 # Don't run this test on the base class
147 if type(self) is EntityTestCase:
148 return
149
150 dict2 = round_trip_dict(self.klass, self._full_dict)
151 self.maxDiff = None
152 self.assertEqual(self._full_dict, dict2)
153
154 def _combine(self, d):
155 items = itertools.chain(

Callers

nothing calls this directly

Calls 1

round_trip_dictFunction · 0.85

Tested by

no test coverage detected