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

Method test_add_short_description

stix/test/coa_test.py:85–95  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

83 )
84
85 def test_add_short_description(self):
86 o1 = self.klass()
87 o2 = self.klass()
88
89 o1.add_short_description("Test")
90 o2.short_descriptions.add("Test")
91
92 self.assertEqual(
93 o1.short_descriptions.to_dict(),
94 o2.short_descriptions.to_dict()
95 )
96
97 def test_structured_coa(self):
98 coa_ = coa.CourseOfAction()

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