From 2f967268d1b249fe4ce5784b46e9392c2d2d483e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Fri, 6 Jan 2017 21:03:02 -0500 Subject: [PATCH] Add new key in online test --- tests/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.py b/tests/test.py index d1a2ac9..dfd93aa 100755 --- a/tests/test.py +++ b/tests/test.py @@ -42,12 +42,12 @@ class TestBasic(unittest.TestCase): event = self.misp.new_event(0, 1, 0, "This is a test") event_id = self._clean_event(event) to_check = {u'Event': {u'info': u'This is a test', u'locked': False, - u'attribute_count': None, u'analysis': u'0', + u'attribute_count': None, 'disable_correlation': False, u'analysis': u'0', u'ShadowAttribute': [], u'published': False, u'distribution': u'0', u'Attribute': [], u'proposal_email_lock': False, u'Org': {u'name': u'ORGNAME'}, u'Orgc': {u'name': u'ORGNAME'}, - u'Galaxy' : [], + u'Galaxy': [], u'threat_level_id': u'1'}} print(event) self.assertEqual(event, to_check, 'Failed at creating a new Event')