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

pull/280/head
Raphaël Vinot 2018-09-21 13:22:37 -07:00
父節點 aaddce9692
當前提交 e9d82ea02e
共有 1 個檔案被更改,包括 21 行新增18 行删除

查看文件

@ -18,6 +18,8 @@ except ImportError as e:
from uuid import uuid4
local = False
class TestComprehensive(unittest.TestCase):
@ -582,6 +584,7 @@ class TestComprehensive(unittest.TestCase):
# warninglist
# FIXME: the warning lists ID aren't deterministic
if local:
response = self.admin_misp_connector.toggle_warninglist('17', force_enable=True) # enable ipv4 DNS.
self.assertDictEqual(response, {'saved': True, 'success': '1 warninglist(s) enabled'})
second.add_attribute('ip-src', '9.9.9.9')