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

Method _test_equal

stix/test/encoding_test.py:51–54  ·  view source on GitHub ↗
(self, obj1, obj2)

Source from the content-addressed store, hash-verified

49 binding_utils.ExternalEncoding = cls.orig_encoding
50
51 def _test_equal(self, obj1, obj2):
52 self.assertEqual(obj1.title, obj2.title)
53 self.assertEqual(obj1.description.value, obj2.description.value)
54 self.assertEqual(obj1.short_description.value, obj2.short_description.value)
55
56 def test_structured_text(self):
57 s = StructuredText(UNICODE_STR)

Callers 7

test_stix_headerMethod · 0.95
test_indicatorMethod · 0.95
test_incidentMethod · 0.95
test_ttpMethod · 0.95
test_taMethod · 0.95
test_etMethod · 0.95
test_campaignMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected