Skip to content

Commit e3ab013

Browse files
ntollsssoleileraaa
authored andcommitted
Minor fixes to address @creviera's feedback.
1 parent d993baa commit e3ab013

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

securedrop_client/logic.py

-1
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,6 @@ def on_sync_failure(self, result: Exception) -> None:
439439
_('The SecureDrop server cannot be reached.'),
440440
duration=0,
441441
retry=True)
442-
self.resume_queues()
443442

444443
def on_refresh_failure(self, result: Exception) -> None:
445444
"""

tests/test_logic.py

-1
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,6 @@ def test_Controller_on_sync_failure(homedir, config, mocker, session_maker):
441441
co.on_sync_failure(exception)
442442

443443
assert mock_storage.update_local_storage.call_count == 0
444-
co.resume_queues.assert_called_once_with()
445444

446445

447446
def test_Controller_on_refresh_failure(homedir, config, mocker, session_maker):

0 commit comments

Comments
 (0)