fix: IP removed from the public DNS list

pull/608/head
Raphaël Vinot 2020-07-28 11:27:26 +02:00
parent 2fb61d4b32
commit ba4b22a303
1 changed files with 1 additions and 1 deletions

View File

@ -829,7 +829,7 @@ class TestComprehensive(unittest.TestCase):
events = self.user_misp_connector.search(eventid=second.id, enforce_warninglist=True)
self.assertEqual(len(events), 1)
self.assertEqual(events[0].id, second.id)
self.assertEqual(len(events[0].attributes), 3)
self.assertEqual(len(events[0].attributes), 4)
response = self.admin_misp_connector.toggle_warninglist(warninglist_name='%dns resolv%') # disable ipv4 DNS.
self.assertDictEqual(response, {'saved': True, 'success': '3 warninglist(s) toggled'})