diff --git a/tests/modeltests/properties/models.py b/tests/modeltests/properties/models.py index ac7b6fe72f..661edd33c5 100644 --- a/tests/modeltests/properties/models.py +++ b/tests/modeltests/properties/models.py @@ -16,5 +16,11 @@ API_TESTS = """ >>> a = Person(first_name='John', last_name='Lennon') >>> a.save() >>> a.full_name -John Lennon +'John Lennon' + +# The "full_name" property hasn't provided a "set" method. +>>> a.full_name = 'Paul McCartney' +Traceback (most recent call last): + ... +AttributeError: can't set attribute """