mirror of https://github.com/MISP/PyMISP
fix: Disable test warning lists. Enabling is not deterministic.
parent
aaddce9692
commit
e9d82ea02e
|
@ -18,6 +18,8 @@ except ImportError as e:
|
||||||
|
|
||||||
from uuid import uuid4
|
from uuid import uuid4
|
||||||
|
|
||||||
|
local = False
|
||||||
|
|
||||||
|
|
||||||
class TestComprehensive(unittest.TestCase):
|
class TestComprehensive(unittest.TestCase):
|
||||||
|
|
||||||
|
@ -582,6 +584,7 @@ class TestComprehensive(unittest.TestCase):
|
||||||
|
|
||||||
# warninglist
|
# warninglist
|
||||||
# FIXME: the warning lists ID aren't deterministic
|
# FIXME: the warning lists ID aren't deterministic
|
||||||
|
if local:
|
||||||
response = self.admin_misp_connector.toggle_warninglist('17', force_enable=True) # enable ipv4 DNS.
|
response = self.admin_misp_connector.toggle_warninglist('17', force_enable=True) # enable ipv4 DNS.
|
||||||
self.assertDictEqual(response, {'saved': True, 'success': '1 warninglist(s) enabled'})
|
self.assertDictEqual(response, {'saved': True, 'success': '1 warninglist(s) enabled'})
|
||||||
second.add_attribute('ip-src', '9.9.9.9')
|
second.add_attribute('ip-src', '9.9.9.9')
|
||||||
|
|
Loading…
Reference in New Issue