From c9320ad895f374fbe328e7022619751eccd113b7 Mon Sep 17 00:00:00 2001 From: Richard Piazza Date: Thu, 4 May 2017 16:41:37 -0400 Subject: [PATCH] style errors --- stix2/test/constants.py | 2 -- stix2/test/test_versioning.py | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/stix2/test/constants.py b/stix2/test/constants.py index 5ef599e..b631d08 100644 --- a/stix2/test/constants.py +++ b/stix2/test/constants.py @@ -43,5 +43,3 @@ RELATIONSHIP_KWARGS = dict( SIGHTING_KWARGS = dict( sighting_of_ref=INDICATOR_ID, ) - - diff --git a/stix2/test/test_versioning.py b/stix2/test/test_versioning.py index 0e51abc..4663263 100644 --- a/stix2/test/test_versioning.py +++ b/stix2/test/test_versioning.py @@ -39,7 +39,7 @@ def test_making_new_version_with_unset(): assert campaign_v1.created_by_ref == campaign_v2.created_by_ref assert campaign_v1.created == campaign_v2.created assert campaign_v1.name == campaign_v2.name - assert campaign_v2.description == None + assert campaign_v2.description is None assert campaign_v1.modified < campaign_v2.modified @@ -141,7 +141,7 @@ def test_versioning_error_usetting_required_property(): campaign_v1.new_version(name=None) assert excinfo.value.cls == stix2.Campaign - assert excinfo.value.fields == [ "name" ] + assert excinfo.value.fields == ["name"] def test_versioning_error_new_version_of_revoked():