Skip to content

Commit 23b5d3a

Browse files
committed
Revert "fix: [tests] Removed typing"
This reverts commit a7cf9dc.
1 parent a7cf9dc commit 23b5d3a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_analyst_data.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ def test_analyst_data_object_object_attribute_alternative(self) -> None:
6868
misp_object.add_attribute('filename', 'foo.exe')
6969
self._attach_analyst_data(misp_object.attributes[0])
7070

71-
def _attach_analyst_data(self, container) -> None:
71+
def _attach_analyst_data(
72+
self, container: MISPAttribute | MISPEvent | MISPEventReport | MISPObject) -> None:
7273
object_type = container._analyst_data_object_type
7374
note1 = container.add_note(note='note1')
7475
opinion1 = note1.add_opinion(opinion=25, comment='Disagree')

0 commit comments

Comments
 (0)