1 parent f39f539 commit 87bf7ebCopy full SHA for 87bf7eb
1 file changed
catalog/tests/test_views.py
@@ -139,7 +139,7 @@ def test_only_borrowed_books_in_list(self):
139
# Confirm all books belong to testuser1 and are on loan
140
for bookitem in response.context['bookinstance_list']:
141
self.assertEqual(response.context['user'], bookitem.borrower)
142
- self.assertEqual('o', bookitem.status)
+ self.assertEqual(bookitem.status, 'o')
143
144
def test_pages_paginated_to_ten(self):
145
0 commit comments