update test after merge, formatting

master
Emmanuelle Vargas-Gonzalez 2019-09-23 23:27:43 -04:00
parent 88b883c91d
commit de478df687
2 changed files with 3 additions and 0 deletions

View File

@ -234,6 +234,7 @@ class STIXDeprecationWarning(DeprecationWarning):
"""
pass
class SemanticEquivalenceUnsupportedTypeError(STIXError, TypeError):
"""STIX object type not supported by the semantic equivalence approach."""

View File

@ -650,6 +650,8 @@ def test_semantic_equivalence_zero_match():
IND_KWARGS = dict(
indicator_types=["APTX"],
pattern="[ipv4-addr:value = '192.168.1.1']",
pattern_type="stix",
valid_from="2019-01-01T12:34:56Z",
)
weights = {
"indicator": {