mirror of https://github.com/MISP/PyMISP
				
				
				
			chg: Add even more debug for gha
							parent
							
								
									979d2ee155
								
							
						
					
					
						commit
						5301ddd1fa
					
				|  | @ -46,7 +46,7 @@ class MISPFileCache: | |||
|         return data | ||||
| 
 | ||||
| 
 | ||||
| class Distribution(IntEnum): | ||||
| class Distribution(Enum): | ||||
|     your_organisation_only = 0 | ||||
|     this_community_only = 1 | ||||
|     connected_communities = 2 | ||||
|  |  | |||
|  | @ -1702,11 +1702,10 @@ class TestComprehensive(unittest.TestCase): | |||
|             self.admin_misp_connector.delete_event(first) | ||||
| 
 | ||||
|     def test_add_event_with_attachment(self) -> None: | ||||
|         first = self.create_simple_event() | ||||
|         first_send = self.create_simple_event() | ||||
|         try: | ||||
|             print(first) | ||||
|             first = self.user_misp_connector.add_event(first) | ||||
|             self.assertTrue(isinstance(first, MISPEvent), first) | ||||
|             first = self.user_misp_connector.add_event(first_send) | ||||
|             self.assertTrue(isinstance(first, MISPEvent), '\n'.join([first_send, first])) | ||||
|             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(bin_obj) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Raphaël Vinot
						Raphaël Vinot