aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests/relations_pk.py
diff options
context:
space:
mode:
authorTom Christie2013-01-16 14:32:51 +0000
committerTom Christie2013-01-16 14:32:51 +0000
commiteb3d4d0e93b07d245232685d4fe3ad78144ea933 (patch)
tree6c595068fcd1a56c7c5540dcc255b21d607b7e56 /rest_framework/tests/relations_pk.py
parent875841c76af5c714e860d069fd23eae5a1ab6e5c (diff)
downloaddjango-rest-framework-eb3d4d0e93b07d245232685d4fe3ad78144ea933.tar.bz2
Drop bits of relations_slug tests which don't mirror existing tests.
Diffstat (limited to 'rest_framework/tests/relations_pk.py')
-rw-r--r--rest_framework/tests/relations_pk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/tests/relations_pk.py b/rest_framework/tests/relations_pk.py
index 54835860..dd1e86b5 100644
--- a/rest_framework/tests/relations_pk.py
+++ b/rest_framework/tests/relations_pk.py
@@ -206,7 +206,7 @@ class PKForeignKeyTests(TestCase):
expected = [
{'id': 1, 'name': u'target-1', 'sources': [1, 2, 3]},
{'id': 2, 'name': u'target-2', 'sources': []},
- ]
+ ]
self.assertEquals(new_serializer.data, expected)
serializer.save()