From b7404ecf8138a9fe077ba2095f12922d5909a611 Mon Sep 17 00:00:00 2001 From: mykyta Date: Sat, 11 Sep 2021 12:56:30 +0300 Subject: [PATCH] update test to use new EnumOptions --- graphene/types/tests/test_enum.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/graphene/types/tests/test_enum.py b/graphene/types/tests/test_enum.py index 0c00df11..0663784d 100644 --- a/graphene/types/tests/test_enum.py +++ b/graphene/types/tests/test_enum.py @@ -477,9 +477,12 @@ def test_enum_inheritance(): class ParentRGB(Enum): RED = 1 - class ChildRGB(ParentRGB, Enum): + class ChildRGB(Enum): BLUE = 2 + class Meta: + enums = (ParentRGB,) + class Query(ObjectType): color = ChildRGB(required=True)