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

Method test_add_description

stix/test/ttp_test.py:175–185  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

173 }
174
175 def test_add_description(self):
176 o1 = self.klass()
177 o2 = self.klass()
178
179 o1.add_description("Test")
180 o2.descriptions.add("Test")
181
182 self.assertEqual(
183 o1.descriptions.to_dict(),
184 o2.descriptions.to_dict()
185 )
186
187 def test_add_short_description(self):
188 o1 = self.klass()

Callers

nothing calls this directly

Calls 3

add_descriptionMethod · 0.45
addMethod · 0.45
to_dictMethod · 0.45

Tested by

no test coverage detected