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

Method test_campaign

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

Source from the content-addressed store, hash-verified

114 self._test_equal(e, e2)
115
116 def test_campaign(self):
117 c = Campaign()
118 c.title = UNICODE_STR
119 c.description = UNICODE_STR
120 c.short_description = UNICODE_STR
121 c2 = round_trip(c)
122 self._test_equal(c, c2)
123
124 @silence_warnings
125 def test_to_xml_utf16_encoded(self):

Callers

nothing calls this directly

Calls 3

_test_equalMethod · 0.95
CampaignClass · 0.90
round_tripFunction · 0.90

Tested by

no test coverage detected