Fix location for test_object_property

stix2.1
Emmanuelle Vargas-Gonzalez 2018-07-10 16:11:07 -04:00
parent 48e0442439
commit c91bcd43f6
2 changed files with 2 additions and 2 deletions

View File

@ -196,7 +196,7 @@ def test_parse_unknown_type():
def test_stix_object_property():
prop = stix2.v20.bundle.STIXObjectProperty()
prop = stix2.properties.STIXObjectProperty(spec_version='2.0')
identity = stix2.v20.Identity(name="test", identity_class="individual")
assert prop.clean(identity) is identity

View File

@ -203,7 +203,7 @@ def test_parse_unknown_type():
def test_stix_object_property():
prop = stix2.v21.bundle.STIXObjectProperty()
prop = stix2.properties.STIXObjectProperty(spec_version='2.1')
identity = stix2.v21.Identity(name="test", identity_class="individual")
assert prop.clean(identity) is identity