Skip to content

Commit 963b01e

Browse files
authored
fix: replace str with enum value in InMemoryFlag definition (#234)
Signed-off-by: Federico Bond <[email protected]>
1 parent 4bdd384 commit 963b01e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/features/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def context_func(flag: InMemoryFlag, evaluation_context: EvaluationContext):
6565
context_evaluator=context_func,
6666
),
6767
"wrong-flag": InMemoryFlag(
68-
state="ENABLED",
68+
state=InMemoryFlag.State.ENABLED,
6969
variants={"one": "uno", "two": "dos"},
7070
default_variant="one",
7171
),

0 commit comments

Comments
 (0)