Skip to content

Commit 0c9eb51

Browse files
committed
remove leftover files
Signed-off-by: Lea Konvalinka <lea.konvalinka@dynatrace.com>
1 parent 67b5fc4 commit 0c9eb51

3 files changed

Lines changed: 0 additions & 402 deletions

File tree

tests/provider/test_registry_concurrency.py

Lines changed: 0 additions & 261 deletions
This file was deleted.

tests/test_client.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,6 @@ async def test_should_shortcircuit_if_provider_is_not_ready(
326326
async def test_should_shortcircuit_if_provider_is_in_irrecoverable_error_state(
327327
no_op_provider_client, monkeypatch
328328
):
329-
# Given
330-
from openfeature.provider._registry import provider_registry
331-
332329
monkeypatch.setattr(
333330
provider_registry,
334331
"get_provider_status",
@@ -780,18 +777,6 @@ def test_should_noop_if_provider_does_not_support_tracking(monkeypatch):
780777

781778

782779
def test_assert_provider_status_uses_passed_provider_not_current_registry_state():
783-
"""
784-
Regression: the flag evaluation pipeline captures a provider reference
785-
at the start of _establish_hooks_and_provider and uses that same
786-
reference for the actual resolution call. The status assertion must
787-
use that captured reference too — otherwise a concurrent provider swap
788-
between capture and status-check would cause the check to run against
789-
a *different* provider than the one actually evaluated, e.g. allowing
790-
a FATAL provider's flag to be evaluated as if it were READY.
791-
792-
This is a direct invariant test: when called with provider X while
793-
self.provider returns Y, _assert_provider_status must report X's status.
794-
"""
795780
fatal_provider = NoOpProvider()
796781
ready_provider = NoOpProvider()
797782

0 commit comments

Comments
 (0)