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

Method test_indicator

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

Source from the content-addressed store, hash-verified

74 self._test_equal(header, header2)
75
76 def test_indicator(self):
77 i = Indicator()
78 i.title = UNICODE_STR
79 i.description = UNICODE_STR
80 i.short_description = UNICODE_STR
81 i2 = round_trip(i)
82 self._test_equal(i, i2)
83
84 def test_incident(self):
85 i = Incident()

Callers

nothing calls this directly

Calls 3

_test_equalMethod · 0.95
IndicatorClass · 0.90
round_tripFunction · 0.90

Tested by

no test coverage detected