From c91bcd43f6846e9912c101509c1aeb9bdc5abdce Mon Sep 17 00:00:00 2001 From: Emmanuelle Vargas-Gonzalez Date: Tue, 10 Jul 2018 16:11:07 -0400 Subject: [PATCH] Fix location for test_object_property --- stix2/test/v20/test_bundle.py | 2 +- stix2/test/v21/test_bundle.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stix2/test/v20/test_bundle.py b/stix2/test/v20/test_bundle.py index 98d9757..6eae70d 100644 --- a/stix2/test/v20/test_bundle.py +++ b/stix2/test/v20/test_bundle.py @@ -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 diff --git a/stix2/test/v21/test_bundle.py b/stix2/test/v21/test_bundle.py index e0b9179..b22fa64 100644 --- a/stix2/test/v21/test_bundle.py +++ b/stix2/test/v21/test_bundle.py @@ -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