aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTom Christie2014-12-17 14:14:51 +0000
committerTom Christie2014-12-17 14:14:51 +0000
commitc6137bbf5aa7ca800e4afc06657e5196b2e0e481 (patch)
treee857abf77665e4a6562caf84fb968be25c7c9309 /tests
parent426547c61c725ca7dc47671c084d1a2805c92305 (diff)
downloaddjango-rest-framework-c6137bbf5aa7ca800e4afc06657e5196b2e0e481.tar.bz2
Serializer API restrictions.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_bound_fields.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_bound_fields.py b/tests/test_bound_fields.py
index 469437e4..bfc54b23 100644
--- a/tests/test_bound_fields.py
+++ b/tests/test_bound_fields.py
@@ -22,7 +22,7 @@ class TestSimpleBoundField:
amount = serializers.IntegerField()
serializer = ExampleSerializer(data={'text': 'abc', 'amount': 123})
-
+ assert serializer.is_valid()
assert serializer['text'].value == 'abc'
assert serializer['text'].errors is None
assert serializer['text'].name == 'text'