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

Method test_add_short_description

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

Source from the content-addressed store, hash-verified

185 )
186
187 def test_add_short_description(self):
188 o1 = self.klass()
189 o2 = self.klass()
190
191 o1.add_short_description("Test")
192 o2.short_descriptions.add("Test")
193
194 self.assertEqual(
195 o1.short_descriptions.to_dict(),
196 o2.short_descriptions.to_dict()
197 )
198
199 @assert_warnings
200 def test_deprecated_related_packages(self):

Callers

nothing calls this directly

Calls 3

add_short_descriptionMethod · 0.45
addMethod · 0.45
to_dictMethod · 0.45

Tested by

no test coverage detected