summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-11-20 22:17:00 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-11-20 22:17:00 +0000
commit887ed3ad2c2d021209d41244fc4234cb168f4ba0 (patch)
tree42bcb0ad7aded4bdbbe9a1e690c90731bafc123e /tests
parentb4bb345b94f7f6415d3a3aa258dbe46478fcfff5 (diff)
Changed one_to_one unit test to use %r instead of %s in repr method
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
-rw-r--r--tests/testapp/models/one_to_one.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testapp/models/one_to_one.py b/tests/testapp/models/one_to_one.py
index 7c1d669566..5b384aa82b 100644
--- a/tests/testapp/models/one_to_one.py
+++ b/tests/testapp/models/one_to_one.py
@@ -28,7 +28,7 @@ class Waiter(meta.Model):
name = meta.CharField(maxlength=50)
def __repr__(self):
- return "%s the waiter at %s" % (self.name, self.get_restaurant())
+ return "%s the waiter at %r" % (self.name, self.get_restaurant())
API_TESTS = """
# Create a couple of Places.