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

Method test_kill_chain_phases

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

Source from the content-addressed store, hash-verified

199 self._test_partial_dict(d)
200
201 def test_kill_chain_phases(self):
202 d = {
203 'kill_chain_phases': {
204 'kill_chain_phases': [
205 {
206 'kill_chain_id': 'stix:TTP-af3e707f-2fb9-49e5-8c37-14026ca0a5ff',
207 'phase_id': 'stix:TTP-786ca8f9-2d9a-4213-b38e-399af4a2e5d6'
208 },
209 {
210 'kill_chain_id': 'stix:TTP-af3e707f-2fb9-49e5-8c37-14026ca0a5ff',
211 'phase_id': 'stix:TTP-786ca8f9-2d9a-4213-b38e-399af4a2e5d6'
212 },
213 ]
214 }
215 }
216
217 self._test_partial_dict(d)
218
219 def test_test_mechanisms(self):
220 d = {

Callers

nothing calls this directly

Calls 1

_test_partial_dictMethod · 0.80

Tested by

no test coverage detected