diff options
| author | Tom Christie | 2013-05-10 23:02:24 +0100 | 
|---|---|---|
| committer | Tom Christie | 2013-05-10 23:02:24 +0100 | 
| commit | dd51d369c8228f3add37cc639702097b0df9cd90 (patch) | |
| tree | 54708d19b70124d9e0cc8425d2aea86f36cfdca1 /rest_framework/tests | |
| parent | 260a8125c58d76c947f864e738b0a8c35da02d9d (diff) | |
| download | django-rest-framework-dd51d369c8228f3add37cc639702097b0df9cd90.tar.bz2 | |
Unicode string fix
Diffstat (limited to 'rest_framework/tests')
| -rw-r--r-- | rest_framework/tests/filterset.py | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/rest_framework/tests/filterset.py b/rest_framework/tests/filterset.py index 7865fedd..e5414232 100644 --- a/rest_framework/tests/filterset.py +++ b/rest_framework/tests/filterset.py @@ -299,8 +299,8 @@ class SearchFilterTests(TestCase):          self.assertEqual(              response.data,              [ -                {u'id': 1, 'title': u'z', 'text': u'abc'}, -                {u'id': 2, 'title': u'zz', 'text': u'bcd'} +                {'id': 1, 'title': 'z', 'text': 'abc'}, +                {'id': 2, 'title': 'zz', 'text': 'bcd'}              ]          ) @@ -316,7 +316,7 @@ class SearchFilterTests(TestCase):          self.assertEqual(              response.data,              [ -                {u'id': 3, 'title': u'zzz', 'text': u'cde'} +                {'id': 3, 'title': 'zzz', 'text': 'cde'}              ]          ) @@ -332,6 +332,6 @@ class SearchFilterTests(TestCase):          self.assertEqual(              response.data,              [ -                {u'id': 2, 'title': u'zz', 'text': u'bcd'} +                {'id': 2, 'title': 'zz', 'text': 'bcd'}              ]          )  | 
