diff options
| author | Tom Christie | 2013-02-12 20:07:35 +0000 |
|---|---|---|
| committer | Tom Christie | 2013-02-12 20:07:35 +0000 |
| commit | 7f797abc19dff6972ebf41a2211daeb30cadff46 (patch) | |
| tree | f765b053f2d925f2d415d6c82ffa61459d149ea9 /rest_framework/tests/genericrelations.py | |
| parent | f97aa49809d1a1788c8d524bf274a9b65f740c64 (diff) | |
| download | django-rest-framework-7f797abc19dff6972ebf41a2211daeb30cadff46.tar.bz2 | |
Remove deprecated APIs from tests
Diffstat (limited to 'rest_framework/tests/genericrelations.py')
| -rw-r--r-- | rest_framework/tests/genericrelations.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/tests/genericrelations.py b/rest_framework/tests/genericrelations.py index 029564d0..52b47f97 100644 --- a/rest_framework/tests/genericrelations.py +++ b/rest_framework/tests/genericrelations.py @@ -82,7 +82,7 @@ class TestGenericRelations(TestCase): model = Tag exclude = ('id', 'content_type', 'object_id') - serializer = TagSerializer(Tag.objects.all()) + serializer = TagSerializer(Tag.objects.all(), many=True) expected = [ { 'tag': 'django', |
