0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

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

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.