diff --git a/stix2/test/v20/test_indicator.py b/stix2/test/v20/test_indicator.py index 3fe1886..6f3bfea 100644 --- a/stix2/test/v20/test_indicator.py +++ b/stix2/test/v20/test_indicator.py @@ -29,7 +29,7 @@ EXPECTED_INDICATOR_REPR = "Indicator(" + " ".join( pattern="[file:hashes.MD5 = 'd41d8cd98f00b204e9800998ecf8427e']", valid_from='1970-01-01T00:00:01Z', labels=['malicious-activity'] -""".split() +""".split(), ) + ")" diff --git a/stix2/test/v21/test_indicator.py b/stix2/test/v21/test_indicator.py index 1264ac1..2b22418 100644 --- a/stix2/test/v21/test_indicator.py +++ b/stix2/test/v21/test_indicator.py @@ -31,7 +31,7 @@ EXPECTED_INDICATOR_REPR = "Indicator(" + " ".join( pattern_type='stix', pattern_version='2.1', valid_from='1970-01-01T00:00:01Z' -""".split() +""".split(), ) + ")" diff --git a/stix2/test/v21/test_location.py b/stix2/test/v21/test_location.py index 3e064b6..cf9c101 100644 --- a/stix2/test/v21/test_location.py +++ b/stix2/test/v21/test_location.py @@ -27,7 +27,7 @@ EXPECTED_LOCATION_1_REPR = "Location(" + " ".join( created='2016-04-06T20:03:00.000Z', modified='2016-04-06T20:03:00.000Z', latitude=48.8566, - longitude=2.3522""".split() + longitude=2.3522""".split(), ) + ")" EXPECTED_LOCATION_2 = """{ @@ -47,7 +47,7 @@ EXPECTED_LOCATION_2_REPR = "Location(" + " ".join( id='location--a6e9345f-5a15-4c29-8bb3-7dcc5d168d64', created='2016-04-06T20:03:00.000Z', modified='2016-04-06T20:03:00.000Z', - region='north-america'""".split() + region='north-america'""".split(), ) + ")"