Fix tests

pull/36/head
Raphaël Vinot 2016-12-07 14:35:49 +01:00
parent db182ce286
commit 8cec9377c1
1 changed files with 3 additions and 3 deletions

View File

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