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

Method test_ta

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

Source from the content-addressed store, hash-verified

98 self._test_equal(t, t2)
99
100 def test_ta(self):
101 t = ThreatActor()
102 t.title = UNICODE_STR
103 t.description = UNICODE_STR
104 t.short_description = UNICODE_STR
105 t2 = round_trip(t)
106 self._test_equal(t, t2)
107
108 def test_et(self):
109 e = ExploitTarget()

Callers

nothing calls this directly

Calls 3

_test_equalMethod · 0.95
ThreatActorClass · 0.90
round_tripFunction · 0.90

Tested by

no test coverage detected