From 887ed3ad2c2d021209d41244fc4234cb168f4ba0 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sun, 20 Nov 2005 22:17:00 +0000 Subject: [PATCH] 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 --- tests/testapp/models/one_to_one.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.