rm testing lines
parent
eba1844535
commit
a614a78e22
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue