chg: Add some debug for gha

pull/1145/head
Raphaël Vinot 2024-02-02 10:33:11 +01:00
parent b5b4a5ef52
commit 979d2ee155
1 changed files with 2 additions and 0 deletions

View File

@ -1704,7 +1704,9 @@ class TestComprehensive(unittest.TestCase):
def test_add_event_with_attachment(self) -> None: def test_add_event_with_attachment(self) -> None:
first = self.create_simple_event() first = self.create_simple_event()
try: try:
print(first)
first = self.user_misp_connector.add_event(first) first = self.user_misp_connector.add_event(first)
self.assertTrue(isinstance(first, MISPEvent), first)
file_obj, bin_obj, sections = make_binary_objects('tests/viper-test-files/test_files/whoami.exe', standalone=False) file_obj, bin_obj, sections = make_binary_objects('tests/viper-test-files/test_files/whoami.exe', standalone=False)
first.add_object(file_obj) first.add_object(file_obj)
first.add_object(bin_obj) first.add_object(bin_obj)