Skip to content

Commit b24ed1a

Browse files
committed
fixup! feat: Update test harness (copy test files) #1467
Signed-off-by: christian.lutnik <[email protected]>
1 parent 318d736 commit b24ed1a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/features/steps/steps.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
from openfeature.provider.in_memory_provider import InMemoryProvider
1111
from tests.features.data import IN_MEMORY_FLAGS
1212

13+
1314
# Common step definitions
1415

1516

@@ -30,6 +31,12 @@ def step_impl(context):
3031
context.client = get_client()
3132

3233

34+
@given("a provider is registered")
35+
def step_impl(context):
36+
set_provider(InMemoryProvider(IN_MEMORY_FLAGS))
37+
context.client = get_client()
38+
39+
3340
@when(
3441
'a {flag_type} flag with key "{key}" is evaluated with details and default value '
3542
'"{default_value}"'

0 commit comments

Comments
 (0)