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

Method test_et

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

Source from the content-addressed store, hash-verified

106 self._test_equal(t, t2)
107
108 def test_et(self):
109 e = ExploitTarget()
110 e.title = UNICODE_STR
111 e.description = UNICODE_STR
112 e.short_description = UNICODE_STR
113 e2 = round_trip(e)
114 self._test_equal(e, e2)
115
116 def test_campaign(self):
117 c = Campaign()

Callers

nothing calls this directly

Calls 3

_test_equalMethod · 0.95
ExploitTargetClass · 0.90
round_tripFunction · 0.90

Tested by

no test coverage detected