mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-13 17:52:19 +03:00
cleanup test choices
This commit is contained in:
parent
6d5cfee94f
commit
8f354ee890
|
@ -4,7 +4,13 @@ from __future__ import absolute_import
|
||||||
from django.db import models
|
from django.db import models
|
||||||
from django.utils.translation import ugettext_lazy as _
|
from django.utils.translation import ugettext_lazy as _
|
||||||
|
|
||||||
CHOICES = ((1, u"1: this漢"), (2, _(u"2: that漢")), (u"_3漢", "__amount__"))
|
CHOICES = (
|
||||||
|
(1, u"this"),
|
||||||
|
("2", _(u"that")),
|
||||||
|
(u"_3漢", "nonascii"),
|
||||||
|
("__dunder__", "dunder"),
|
||||||
|
("_sunder_", "sunder"),
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class Pet(models.Model):
|
class Pet(models.Model):
|
||||||
|
|
|
@ -180,6 +180,8 @@ enum ReporterAChoice {
|
||||||
A_1
|
A_1
|
||||||
A_2
|
A_2
|
||||||
_3
|
_3
|
||||||
|
A__DUNDER__
|
||||||
|
A_SUNDER_
|
||||||
}
|
}
|
||||||
|
|
||||||
enum ReporterReporterType {
|
enum ReporterReporterType {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user