diff options
| author | Stephan Groß | 2013-03-01 13:16:00 +0100 |
|---|---|---|
| committer | Stephan Groß | 2013-03-01 16:50:18 +0100 |
| commit | f208d8d2bbe2f418caa51199070f703fba544d49 (patch) | |
| tree | 472c6ec6d04d61a59e3fc453f4067fbfabae5247 /rest_framework/tests/pagination.py | |
| parent | ef5752f8b5de3f75310d654f3da649ad4a9a6db5 (diff) | |
| download | django-rest-framework-f208d8d2bbe2f418caa51199070f703fba544d49.tar.bz2 | |
Add drf settings + output format + testcases
Diffstat (limited to 'rest_framework/tests/pagination.py')
| -rw-r--r-- | rest_framework/tests/pagination.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rest_framework/tests/pagination.py b/rest_framework/tests/pagination.py index 6b9970a6..472ffcdd 100644 --- a/rest_framework/tests/pagination.py +++ b/rest_framework/tests/pagination.py @@ -112,8 +112,8 @@ class IntegrationTestPaginationAndFiltering(TestCase): self.objects = FilterableItem.objects self.data = [ - {'id': obj.id, 'text': obj.text, 'decimal': obj.decimal, 'date': obj.date} - for obj in self.objects.all() + {'id': obj.id, 'text': obj.text, 'decimal': obj.decimal, 'date': obj.date.isoformat()} + for obj in self.objects.all() ] self.view = FilterFieldsRootView.as_view() |
