File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -490,7 +490,7 @@ def mocked_authenticate(self: PyiCloudService) -> None:
490490 def test_handle_session_error_during_photo_iteration (self ) -> None :
491491 base_dir = os .path .join (self .fixtures_path , inspect .stack ()[0 ][3 ])
492492
493- def mock_raise_response_error (_offset : int ) -> NoReturn :
493+ def mock_raise_response_error () -> NoReturn :
494494 raise PyiCloudAPIResponseException ("Invalid global session" , "100" )
495495
496496 with mock .patch ("time.sleep" ) as sleep_mock : # noqa: SIM117
@@ -1709,7 +1709,7 @@ def mock_raise_response_error(_arg: Any) -> NoReturn:
17091709 def test_handle_internal_error_during_photo_iteration (self ) -> None :
17101710 base_dir = os .path .join (self .fixtures_path , inspect .stack ()[0 ][3 ])
17111711
1712- def mock_raise_response_error (_offset : int ) -> NoReturn :
1712+ def mock_raise_response_error () -> NoReturn :
17131713 raise PyiCloudAPIResponseException ("INTERNAL_ERROR" , "INTERNAL_ERROR" )
17141714
17151715 with mock .patch ("time.sleep" ) as sleep_mock : # noqa: SIM117
Original file line number Diff line number Diff line change @@ -491,7 +491,7 @@ def mocked_authenticate(self: PyiCloudService) -> None:
491491 def test_handle_session_error_during_photo_iteration_name_id7 (self ) -> None :
492492 base_dir = os .path .join (self .fixtures_path , inspect .stack ()[0 ][3 ])
493493
494- def mock_raise_response_error (_offset : int ) -> NoReturn :
494+ def mock_raise_response_error () -> NoReturn :
495495 raise PyiCloudAPIResponseException ("Invalid global session" , "100" )
496496
497497 with mock .patch ("time.sleep" ) as sleep_mock : # noqa: SIM117
@@ -1637,7 +1637,7 @@ def mock_raise_response_error(_arg: Any) -> NoReturn:
16371637 def test_handle_internal_error_during_photo_iteration_name_id7 (self ) -> None :
16381638 base_dir = os .path .join (self .fixtures_path , inspect .stack ()[0 ][3 ])
16391639
1640- def mock_raise_response_error (_offset : int ) -> NoReturn :
1640+ def mock_raise_response_error () -> NoReturn :
16411641 raise PyiCloudAPIResponseException ("INTERNAL_ERROR" , "INTERNAL_ERROR" )
16421642
16431643 with mock .patch ("time.sleep" ) as sleep_mock : # noqa: SIM117
You can’t perform that action at this time.
0 commit comments