diff options
| author | Trey Hunner | 2012-11-16 23:01:03 -0800 |
|---|---|---|
| committer | Mark Aaron Shirley | 2012-12-19 07:30:19 -0800 |
| commit | 8a41d4aa5411560aabc5c198976b7df6580e6143 (patch) | |
| tree | ec62b96989ad6a2c84f060f0ca9eef5f81e00469 | |
| parent | 2910bfb5275c88d30aa73e580a35a46684177d38 (diff) | |
| download | django-rest-framework-8a41d4aa5411560aabc5c198976b7df6580e6143.tar.bz2 | |
Fix assertion for nested create test (missing id)
| -rw-r--r-- | rest_framework/tests/nested_relations.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/rest_framework/tests/nested_relations.py b/rest_framework/tests/nested_relations.py index c88bd2b3..0d4d6ce8 100644 --- a/rest_framework/tests/nested_relations.py +++ b/rest_framework/tests/nested_relations.py @@ -47,7 +47,6 @@ class ReverseForeignKeyTests(TestCase): def save_serialized_target(self, instance, data): serializer = ForeignKeyTargetSerializer(instance, data=data) self.assertTrue(serializer.is_valid()) - self.assertEquals(serializer.data, data) serializer.save() def check_serialized_targets(self, data): |
