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

Method test_incident

stix/test/encoding_test.py:84–90  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

82 self._test_equal(i, i2)
83
84 def test_incident(self):
85 i = Incident()
86 i.title = UNICODE_STR
87 i.description = UNICODE_STR
88 i.short_description = UNICODE_STR
89 i2 = round_trip(i)
90 self._test_equal(i, i2)
91
92 def test_ttp(self):
93 t = TTP()

Callers

nothing calls this directly

Calls 3

_test_equalMethod · 0.95
IncidentClass · 0.90
round_tripFunction · 0.90

Tested by

no test coverage detected