From f76de87f599a526a6452746eafaac110e301dcf6 Mon Sep 17 00:00:00 2001 From: Emmanuelle Vargas-Gonzalez Date: Thu, 29 Nov 2018 18:45:34 -0500 Subject: [PATCH] Update test_datastore_taxii.py return the right bundle... --- stix2/test/v20/test_datastore_taxii.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stix2/test/v20/test_datastore_taxii.py b/stix2/test/v20/test_datastore_taxii.py index 8a37b8f..5a3c0cb 100644 --- a/stix2/test/v20/test_datastore_taxii.py +++ b/stix2/test/v20/test_datastore_taxii.py @@ -40,7 +40,7 @@ class MockTAXIICollectionEndpoint(Collection): [], ) if objs: - return stix2.v21.Bundle(objects=objs) + return stix2.v20.Bundle(objects=objs) else: resp = Response() resp.status_code = 404 @@ -63,7 +63,7 @@ class MockTAXIICollectionEndpoint(Collection): else: filtered_objects = [] if filtered_objects: - return stix2.v21.Bundle(objects=filtered_objects) + return stix2.v20.Bundle(objects=filtered_objects) else: resp = Response() resp.status_code = 404