mirror of https://github.com/MISP/PyMISP
Merge branch 'master' of github.com:Vincent-CIRCL/PyMISP
commit
f1d2f3ae1e
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue