aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests/serializer.py
diff options
context:
space:
mode:
authorMarko Tibold2012-11-22 22:36:37 +0100
committerMarko Tibold2012-11-22 22:36:37 +0100
commitca5b99486d15e7392754178ab0948de2a60763a3 (patch)
treecf008509ba728e207ebfc74801e95ab2661d9943 /rest_framework/tests/serializer.py
parentac84c2ed2e3571b918f6c995a8f753e86c8126f1 (diff)
downloaddjango-rest-framework-ca5b99486d15e7392754178ab0948de2a60763a3.tar.bz2
Added _post_clean() behaviour by adding a .perform_model_validation() method.
Fixed some tests that were failing due to extra strict validation.
Diffstat (limited to 'rest_framework/tests/serializer.py')
-rw-r--r--rest_framework/tests/serializer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/tests/serializer.py b/rest_framework/tests/serializer.py
index 61a05da1..5751e894 100644
--- a/rest_framework/tests/serializer.py
+++ b/rest_framework/tests/serializer.py
@@ -169,7 +169,7 @@ class ValidationTests(TestCase):
'content': 'x' * 1001,
'created': datetime.datetime(2012, 1, 1)
}
- self.actionitem = ActionItem('Some to do item',
+ self.actionitem = ActionItem(title='Some to do item',
)
def test_create(self):