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

Method test_add_description

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

Source from the content-addressed store, hash-verified

136 }
137
138 def test_add_description(self):
139 o1 = self.klass()
140 o2 = self.klass()
141
142 o1.add_description("Test")
143 o2.descriptions.add("Test")
144
145 self.assertEqual(
146 o1.descriptions.to_dict(),
147 o2.descriptions.to_dict()
148 )
149
150 def test_add_short_description(self):
151 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