mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-25 11:04:02 +03:00
Fix test case
This commit is contained in:
parent
0fe68c78b9
commit
258d5985de
|
@ -210,7 +210,7 @@ class TestRegularFieldMappings(TestCase):
|
||||||
length_limit_field = CharField\(max_length=12, min_length=3\)
|
length_limit_field = CharField\(max_length=12, min_length=3\)
|
||||||
blank_field = CharField\(allow_blank=True, max_length=10, required=False\)
|
blank_field = CharField\(allow_blank=True, max_length=10, required=False\)
|
||||||
null_field = IntegerField\(allow_null=True,.*required=False\)
|
null_field = IntegerField\(allow_null=True,.*required=False\)
|
||||||
default_field = IntegerField\(required=False\)
|
default_field = IntegerField\(.*required=False\)
|
||||||
descriptive_field = IntegerField\(help_text='Some help text', label='A label'.*\)
|
descriptive_field = IntegerField\(help_text='Some help text', label='A label'.*\)
|
||||||
choices_field = ChoiceField\(choices=(?:\[|\()\('red', 'Red'\), \('blue', 'Blue'\), \('green', 'Green'\)(?:\]|\))\)
|
choices_field = ChoiceField\(choices=(?:\[|\()\('red', 'Red'\), \('blue', 'Blue'\), \('green', 'Green'\)(?:\]|\))\)
|
||||||
text_choices_field = ChoiceField\(choices=(?:\[|\()\('red', 'Red'\), \('blue', 'Blue'\), \('green', 'Green'\)(?:\]|\))\)
|
text_choices_field = ChoiceField\(choices=(?:\[|\()\('red', 'Red'\), \('blue', 'Blue'\), \('green', 'Green'\)(?:\]|\))\)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user