(self)
| 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 = { |
nothing calls this directly
no test coverage detected