aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_fields.py
diff options
context:
space:
mode:
authorCraig Blaszczyk2015-01-07 12:46:23 +0000
committerCraig Blaszczyk2015-01-07 12:46:23 +0000
commit91e316f7810157474d6246cd0024bd7f7cc31ff7 (patch)
tree1279d952e1bbc7cfb281cea90b7d215e15534ea1 /tests/test_fields.py
parent9a4267049ba37883e3e0c21b5d453b9551343b8d (diff)
downloaddjango-rest-framework-91e316f7810157474d6246cd0024bd7f7cc31ff7.tar.bz2
prefer single quotes in source and double quotes in user visible strings; add some missing full stops to user visible strings
Diffstat (limited to 'tests/test_fields.py')
-rw-r--r--tests/test_fields.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_fields.py b/tests/test_fields.py
index 61d39aff..5ecb9857 100644
--- a/tests/test_fields.py
+++ b/tests/test_fields.py
@@ -439,7 +439,7 @@ class TestSlugField(FieldValues):
'slug-99': 'slug-99',
}
invalid_inputs = {
- 'slug 99': ["Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."]
+ 'slug 99': ['Enter a valid "slug" consisting of letters, numbers, underscores or hyphens.']
}
outputs = {}
field = serializers.SlugField()