style errors

stix2.1
Richard Piazza 2017-05-04 16:41:37 -04:00
parent 200bb8556f
commit c9320ad895
2 changed files with 2 additions and 4 deletions

View File

@ -43,5 +43,3 @@ RELATIONSHIP_KWARGS = dict(
SIGHTING_KWARGS = dict(
sighting_of_ref=INDICATOR_ID,
)

View File

@ -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():