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
This commit is contained in:
Adrian Holovaty 2005-11-20 22:17:00 +00:00
parent b4bb345b94
commit 887ed3ad2c
1 changed files with 1 additions and 1 deletions

View File

@ -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.