diff --git a/graphene_django/tests/models.py b/graphene_django/tests/models.py index 2dca015..6e552e9 100644 --- a/graphene_django/tests/models.py +++ b/graphene_django/tests/models.py @@ -4,7 +4,7 @@ from __future__ import absolute_import from django.db import models from django.utils.translation import ugettext_lazy as _ -CHOICES = ((1, u"1: this漢"), (2, _(u"2: that漢")), (3, "__amount__")) +CHOICES = ((1, u"1: this漢"), (2, _(u"2: that漢")), (u'_3漢', "__amount__")) class Pet(models.Model): diff --git a/graphene_django/tests/test_types.py b/graphene_django/tests/test_types.py index 464d5f7..7b32edd 100644 --- a/graphene_django/tests/test_types.py +++ b/graphene_django/tests/test_types.py @@ -172,9 +172,9 @@ type Reporter { } enum ReporterAChoice { - A_1_THIS - A_2_THAT - A__AMOUNT__ + A_1 + A_2 + A_3 } enum ReporterReporterType {