Skip to content

Commit 87bf7eb

Browse files
authored
Testviews- test consistency
Fix to match mdn/content#4896
1 parent f39f539 commit 87bf7eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎catalog/tests/test_views.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def test_only_borrowed_books_in_list(self):
139139
# Confirm all books belong to testuser1 and are on loan
140140
for bookitem in response.context['bookinstance_list']:
141141
self.assertEqual(response.context['user'], bookitem.borrower)
142-
self.assertEqual('o', bookitem.status)
142+
self.assertEqual(bookitem.status, 'o')
143143

144144
def test_pages_paginated_to_ten(self):
145145

0 commit comments

Comments
 (0)