Skip to content

Commit 5524652

Browse files
committed
fixup! Finally hooks do not get called when the provider is not ready #424
Signed-off-by: christian.lutnik <[email protected]>
1 parent c5ea1e6 commit 5524652

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ def test_should_shortcircuit_if_provider_is_not_ready(
223223
spy_hook.error.assert_called_once()
224224
spy_hook.finally_after.assert_called_once()
225225

226+
226227
# Requirement 1.7.7
227228
def test_should_shortcircuit_if_provider_is_in_irrecoverable_error_state(
228229
no_op_provider_client, monkeypatch
@@ -245,6 +246,7 @@ def test_should_shortcircuit_if_provider_is_in_irrecoverable_error_state(
245246
spy_hook.error.assert_called_once()
246247
spy_hook.finally_after.assert_called_once()
247248

249+
248250
def test_should_run_error_hooks_if_provider_returns_resolution_with_error_code():
249251
# Given
250252
spy_hook = MagicMock(spec=Hook)

0 commit comments

Comments
 (0)