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

Method test_add_short_description

stix/test/campaign_test.py:150–160  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

148 )
149
150 def test_add_short_description(self):
151 o1 = self.klass()
152 o2 = self.klass()
153
154 o1.add_short_description("Test")
155 o2.short_descriptions.add("Test")
156
157 self.assertEqual(
158 o1.short_descriptions.to_dict(),
159 o2.short_descriptions.to_dict()
160 )
161
162 @assert_warnings
163 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