From 8cec9377c1c4e2ea756282e9bfee7701200c94b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Wed, 7 Dec 2016 14:35:49 +0100 Subject: [PATCH] Fix tests --- tests/test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test.py b/tests/test.py index 3dcf7b9..d1a2ac9 100755 --- a/tests/test.py +++ b/tests/test.py @@ -47,10 +47,10 @@ class TestBasic(unittest.TestCase): u'distribution': u'0', u'Attribute': [], u'proposal_email_lock': False, u'Org': {u'name': u'ORGNAME'}, u'Orgc': {u'name': u'ORGNAME'}, - u'threat_level_id': u'1'}, - u'Galaxy': []} + u'Galaxy' : [], + u'threat_level_id': u'1'}} print(event) - self.assertCountEqual(event, to_check, 'Failed at creating a new Event') + self.assertEqual(event, to_check, 'Failed at creating a new Event') return int(event_id) def add_hashes(self, eventid):