change key name for _refs check

pull/1/head
Emmanuelle Vargas-Gonzalez 2021-03-01 12:54:01 -05:00
parent 3efa4c1ce9
commit e4e6f46089
1 changed files with 1 additions and 1 deletions

View File

@ -860,7 +860,7 @@ def test_non_existent_config_for_object():
r2 = stix2.v21.Report(id=REPORT_ID, **REPORT_KWARGS)
prop_scores = {}
assert stix2.Environment().object_similarity(r1, r2, prop_scores) == 100.0
assert prop_scores["object_refs"]["method"] == "partial_list_based"
assert prop_scores["object_refs"]["check_type"] == "partial_list_based"
def custom_semantic_equivalence_method(obj1, obj2, **weights):