Browse files

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
  • Loading branch information...
1 parent b4bb345 commit 887ed3ad2c2d021209d41244fc4234cb168f4ba0 @adrianholovaty adrianholovaty committed Nov 20, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/testapp/models/one_to_one.py
View
2 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.

0 comments on commit 887ed3a

Please sign in to comment.