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

Method test_deprecated_related_packages

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

Source from the content-addressed store, hash-verified

112
113 @assert_warnings
114 def test_deprecated_related_packages(self):
115 c = coa.CourseOfAction()
116 c.related_packages.append(STIXPackage())
117 self.assertEqual(len(c.related_packages), 1)
118
119
120if __name__ == "__main__":

Callers

nothing calls this directly

Calls 1

STIXPackageClass · 0.90

Tested by

no test coverage detected