From 1ab48e37b9908de0c387e217f5af93a1e1da9d5e Mon Sep 17 00:00:00 2001 From: Rich Piazza Date: Sun, 2 May 2021 17:16:13 -0400 Subject: [PATCH] fix test_main --- stix2elevator/test/test_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stix2elevator/test/test_main.py b/stix2elevator/test/test_main.py index 2a0f4a1f..55c2e25c 100644 --- a/stix2elevator/test/test_main.py +++ b/stix2elevator/test/test_main.py @@ -44,7 +44,7 @@ def test_setup_options(opts): options.ALL_OPTIONS = None # To make sure we can set it again initialize_options(opts) assert get_option_value("policy") == "no_policy" - assert get_option_value("spec_version") == "2.1" + assert get_option_value("spec_version") == os.environ["VERSION"] assert get_option_value("log_level") == "DEBUG" assert get_option_value("disabled") == [212, 901]