fixed indentation
parent
03f9af4b96
commit
6c3a689f02
|
|
@ -7,9 +7,6 @@ from stix2.sources import taxii
|
||||||
#Data Source (common API)
|
#Data Source (common API)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#TAXII
|
#TAXII
|
||||||
def test_ds_taxii():
|
def test_ds_taxii():
|
||||||
ds = taxii.TAXIIDataSource()
|
ds = taxii.TAXIIDataSource()
|
||||||
|
|
@ -70,7 +67,7 @@ def test_parse_taxii_filters():
|
||||||
assert taxii_filters == expected_params
|
assert taxii_filters == expected_params
|
||||||
|
|
||||||
|
|
||||||
def test_add_get_filter():
|
def test_add_get_remove_filter():
|
||||||
class dummy(object):
|
class dummy(object):
|
||||||
x = 4
|
x = 4
|
||||||
|
|
||||||
|
|
@ -122,6 +119,7 @@ def test_add_get_filter():
|
||||||
]
|
]
|
||||||
|
|
||||||
ds = taxii.TAXIIDataSource()
|
ds = taxii.TAXIIDataSource()
|
||||||
|
#add
|
||||||
ids, statuses = ds.add_filter(filters)
|
ids, statuses = ds.add_filter(filters)
|
||||||
|
|
||||||
#7 filters should have been successfully added
|
#7 filters should have been successfully added
|
||||||
|
|
@ -139,9 +137,6 @@ def test_add_get_filter():
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#File
|
#File
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue