fix: [tests] Removed typing

pull/1307/head
Christian Studer 2024-12-18 18:24:06 +01:00
parent 1e9258eb4a
commit a7cf9dc3f0
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 1 additions and 2 deletions

View File

@ -68,8 +68,7 @@ class TestAnalystData(unittest.TestCase):
misp_object.add_attribute('filename', 'foo.exe')
self._attach_analyst_data(misp_object.attributes[0])
def _attach_analyst_data(
self, container: MISPAttribute | MISPEvent | MISPEventReport | MISPObject) -> None:
def _attach_analyst_data(self, container) -> None:
object_type = container._analyst_data_object_type
note1 = container.add_note(note='note1')
opinion1 = note1.add_opinion(opinion=25, comment='Disagree')