Skip to content

Commit

Permalink
fix: replace str with enum value in InMemoryFlag definition (#234)
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Bond <federicobond@gmail.com>
  • Loading branch information
federicobond authored Nov 7, 2023
1 parent 4bdd384 commit 963b01e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/features/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def context_func(flag: InMemoryFlag, evaluation_context: EvaluationContext):
context_evaluator=context_func,
),
"wrong-flag": InMemoryFlag(
state="ENABLED",
state=InMemoryFlag.State.ENABLED,
variants={"one": "uno", "two": "dos"},
default_variant="one",
),
Expand Down

0 comments on commit 963b01e

Please sign in to comment.