diff options
| author | Tom Christie | 2012-11-05 10:53:20 +0000 |
|---|---|---|
| committer | Tom Christie | 2012-11-05 10:53:20 +0000 |
| commit | b7b942c5991e677e7df621c00befb075d06edd61 (patch) | |
| tree | 886d1657a3e8b014fef0cbae055d7f74cd46dbda /rest_framework/tests/genericrelations.py | |
| parent | 5b397e50ddb999f85949a7359d0a26c3531c78a9 (diff) | |
| download | django-rest-framework-b7b942c5991e677e7df621c00befb075d06edd61.tar.bz2 | |
Swap position of `instance` and `data` keyword arguments.
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 1d7e33bc..bc7378e1 100644 --- a/rest_framework/tests/genericrelations.py +++ b/rest_framework/tests/genericrelations.py @@ -25,7 +25,7 @@ class TestGenericRelations(TestCase): model = Bookmark exclude = ('id',) - serializer = BookmarkSerializer(instance=self.bookmark) + serializer = BookmarkSerializer(self.bookmark) expected = { 'tags': [u'django', u'python'], 'url': u'https://www.djangoproject.com/' |
