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

Method test_likely_impact

stix/test/indicator_test.py:256–271  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

254
255
256 def test_likely_impact(self):
257 d = {
258 'likely_impact': {
259 'timestamp': "2014-01-31T06:14:46",
260 'timestamp_precision': 'day',
261 'value': "Something strange is going on",
262 'description': "An amazing source",
263 'source': { 'description': "An amazing source",
264 'identity': {'name': "Spiderman",}
265 },
266 'confidence': {
267 'value': {'value': "Low", 'xsi:type':'stixVocabs:HighMediumLowVocab-1.0'},
268 },
269 }
270 }
271 self._test_partial_dict(d)
272
273 def test_suggested_coas(self):
274 d = {

Callers

nothing calls this directly

Calls 1

_test_partial_dictMethod · 0.80

Tested by

no test coverage detected