fix: Disable test warning lists. Enabling is not deterministic.

pull/280/head
Raphaël Vinot 2018-09-21 13:22:37 -07:00
parent aaddce9692
commit e9d82ea02e
1 changed files with 21 additions and 18 deletions

View File

@ -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')