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

Method test_structured_text

stix/test/encoding_test.py:56–59  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

54 self.assertEqual(obj1.short_description.value, obj2.short_description.value)
55
56 def test_structured_text(self):
57 s = StructuredText(UNICODE_STR)
58 s2 = round_trip(s)
59 self.assertEqual(s.value, s2.value)
60
61 def test_asset_type(self):
62 a = affected_asset.AssetType()

Callers

nothing calls this directly

Calls 2

StructuredTextClass · 0.90
round_tripFunction · 0.90

Tested by

no test coverage detected