mirror of https://github.com/MISP/PyMISP
chg: Fix travis tests due to sighting_timestamp
parent
7324ae72e6
commit
605cdc21ef
|
@ -54,6 +54,7 @@ class TestBasic(unittest.TestCase):
|
||||||
u'Object': [], u'Org': {'local': True, u'name': u'ORGNAME'},
|
u'Object': [], u'Org': {'local': True, u'name': u'ORGNAME'},
|
||||||
u'Orgc': {'local': True, u'name': u'ORGNAME'},
|
u'Orgc': {'local': True, u'name': u'ORGNAME'},
|
||||||
u'Galaxy': [],
|
u'Galaxy': [],
|
||||||
|
u'sighting_timestamp': '0',
|
||||||
u'threat_level_id': u'1'}}
|
u'threat_level_id': u'1'}}
|
||||||
self.assertEqual(event, to_check, 'Failed at creating a new Event')
|
self.assertEqual(event, to_check, 'Failed at creating a new Event')
|
||||||
return int(event_id)
|
return int(event_id)
|
||||||
|
|
Loading…
Reference in New Issue