Merge branch 'master' of github.com:Vincent-CIRCL/PyMISP

pull/358/head
Falconieri 2019-03-01 09:22:55 +01:00
commit f1d2f3ae1e
2 changed files with 2 additions and 2 deletions

View File

@ -6,6 +6,7 @@ import base64
import logging
import pprint
from io import BytesIO
import sys
if sys.version_info.major >= 3:
@ -1207,7 +1208,6 @@ class Object():
# ----------------------------------------------------------------------
def create_flowable_table_from_objects(self, misp_event, config=None):
'''
Returns a list of flowables representing the list of objects of a misp event.
@ -1315,7 +1315,6 @@ class Galaxy():
return flowable_table
def create_flowable_table_from_galaxies(self, misp_event):
'''
Returns a Table (flowable) to add to a pdf, representing the list of galaxies of an event or a misp event

View File

@ -35,6 +35,7 @@ class TestMISPEvent(unittest.TestCase):
self.moduleconfig = ["MISP_base_url_for_dynamic_link", "MISP_name_for_metadata", "Activate_textual_description",
"Activate_galaxy_description"]
def init_event(self):
self.mispevent.info = 'This is a test'
self.mispevent.distribution = 1