mirror of https://github.com/MISP/PyMISP
parent
9d388cf24c
commit
402018e528
|
@ -115,7 +115,7 @@ class TestOffline(unittest.TestCase):
|
|||
self.assertEqual(error, response)
|
||||
|
||||
def test_newEvent(self, m):
|
||||
error_empty_info = {'message': 'The event could not be saved.', 'name': 'Add event failed.', 'errors': {'Event': {'info': ['Info cannot be empty.']}}, 'url': '/events/add'}
|
||||
error_empty_info = {'message': 'The event could not be saved.', 'name': 'Add event failed.', 'errors': ['Error in info: Info cannot be empty.'], 'url': '/events/add'}
|
||||
error_empty_info_flatten = {u'message': u'The event could not be saved.', u'name': u'Add event failed.', u'errors': [u"Error in info: Info cannot be empty."], u'url': u'/events/add'}
|
||||
self.initURI(m)
|
||||
pymisp = PyMISP(self.domain, self.key)
|
||||
|
|
Loading…
Reference in New Issue