Skip to content

Commit f39f539

Browse files
authored
test_model - consistency fix
Part of mdn/content#4896
1 parent 46e70b9 commit f39f539

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎catalog/tests/test_models.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def test_object_name_is_last_name_comma_first_name(self):
4646
author = Author.objects.get(id=1)
4747
expected_object_name = '{0}, {1}'.format(author.last_name, author.first_name)
4848

49-
self.assertEquals(expected_object_name, str(author))
49+
self.assertEquals(str(author), expected_object_name)
5050

5151
def test_get_absolute_url(self):
5252
author = Author.objects.get(id=1)

0 commit comments

Comments
 (0)