1 parent 46e70b9 commit f39f539Copy full SHA for f39f539
1 file changed
catalog/tests/test_models.py
@@ -46,7 +46,7 @@ def test_object_name_is_last_name_comma_first_name(self):
46
author = Author.objects.get(id=1)
47
expected_object_name = '{0}, {1}'.format(author.last_name, author.first_name)
48
49
- self.assertEquals(expected_object_name, str(author))
+ self.assertEquals(str(author), expected_object_name)
50
51
def test_get_absolute_url(self):
52
0 commit comments