Commit a719087c authored by Watchtek's avatar Watchtek
Browse files

solved R0022

parent 0478506c
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ class MultipleTest(unittest.TestCase):
        os.makedirs(self.screenshots_folder, exist_ok=True)
        self.screenshot_base_dir = self.screenshots_folder

    def check_http_status(self, url: str, max_retry: int = 3, ignore_cert: bool = True) -> bool: # pylint: disable=R0201
    def check_http_status(self, url: str, max_retry: int = 3, ignore_cert: bool = True) -> bool:
        """
        Checks the HTTP status of the given URL.
        Follows redirects, retries up to `max_retry` times if the final status is not 200,