From ac1b742dcaacf54743cfd6490cde845c644f2ae6 Mon Sep 17 00:00:00 2001 From: Mario Fuchs Date: Wed, 18 Sep 2024 10:23:19 +0200 Subject: [PATCH] Fix tests for python 3.8 (#11) --- testguide_report_generator/model/TestCase.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testguide_report_generator/model/TestCase.py b/testguide_report_generator/model/TestCase.py index 3d96cc0..780cb6c 100644 --- a/testguide_report_generator/model/TestCase.py +++ b/testguide_report_generator/model/TestCase.py @@ -285,7 +285,7 @@ def set_defect_priority(self, priority: str): self.__defect_priority = priority return self - def add_tickets(self, tickets: list[str]): + def add_tickets(self, tickets: List[str]): """ Add tickets to the review. @@ -324,7 +324,7 @@ def set_custom_evaluation(self, evaluation: str): self.__custom_evaluation = evaluation return self - def add_tags(self, tags: list[str]): + def add_tags(self, tags: List[str]): """ Add multiple tags to the review. @@ -336,7 +336,7 @@ def add_tags(self, tags: list[str]): self.__tags.extend(tags) return self - def add_contacts(self, contacts: list[str]): + def add_contacts(self, contacts: List[str]): """Add contacts to the review. :param contacts: list of Review contacts