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

Method test_indicated_ttps

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

Source from the content-addressed store, hash-verified

122 self._test_partial_dict(d)
123
124 def test_indicated_ttps(self):
125 d = {
126 'indicated_ttps': [
127 {
128 'confidence': {
129 'value': {
130 'value': 'Medium',
131 'xsi:type': 'stixVocabs:HighMediumLowVocab-1.0'}
132 },
133 'ttp': {
134 'idref': 'example:TTP-1'
135 }
136 },
137 {
138 'confidence': {
139 'value': {
140 'value': 'Medium',
141 'xsi:type': 'stixVocabs:HighMediumLowVocab-1.0'}
142 },
143 'ttp': {
144 'idref': 'example:TTP-2'
145 }
146 },
147 ],
148 }
149
150 self._test_partial_dict(d)
151
152 def test_related_campaigns(self):
153 d = {

Callers

nothing calls this directly

Calls 1

_test_partial_dictMethod · 0.80

Tested by

no test coverage detected