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

Method test_stix_header

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

Source from the content-addressed store, hash-verified

66
67 @silence_warnings
68 def test_stix_header(self):
69 header = STIXHeader()
70 header.title = UNICODE_STR
71 header.description = UNICODE_STR
72 header.short_description = UNICODE_STR
73 header2 = round_trip(header)
74 self._test_equal(header, header2)
75
76 def test_indicator(self):
77 i = Indicator()

Callers

nothing calls this directly

Calls 3

_test_equalMethod · 0.95
STIXHeaderClass · 0.90
round_tripFunction · 0.90

Tested by

no test coverage detected