rm testing lines

stix2.0
= 2018-04-13 14:21:44 -04:00
parent eba1844535
commit a614a78e22
2 changed files with 1 additions and 2 deletions

View File

@ -80,7 +80,6 @@ def test_identity_custom_property_allowed():
def test_parse_identity_custom_property(data):
with pytest.raises(stix2.exceptions.ExtraPropertiesError) as excinfo:
identity = stix2.parse(data)
assert str(excinfo.value.cls) == str(stix2.Identity)
assert excinfo.value.cls == stix2.Identity
assert excinfo.value.properties == ['foo']
assert "Unexpected properties for" in str(excinfo.value)

View File

@ -261,7 +261,7 @@ def reports(filters=None):
"""
filter_list = FilterSet(filters)
filter_list.add([Filter('type', '=', 'report')])
filter_list.add(Filter('type', '=', 'report'))
return query(filter_list)