Fixes shelf view boolean logic
This commit is contained in:
parent
f13f3d460c
commit
e0aa8a7fdf
2 changed files with 2 additions and 2 deletions
|
@ -105,7 +105,7 @@ class ShelfViews(TestCase):
|
|||
shelf.refresh_from_db()
|
||||
|
||||
self.assertEqual(shelf.name, "cool name")
|
||||
self.assertEqual(shelf.identifier, "testshelf-%d" % shelf.id)
|
||||
self.assertEqual(shelf.identifier, f"testshelf-{shelf.id}")
|
||||
|
||||
def test_edit_shelf_name_not_editable(self, *_):
|
||||
"""can't change the name of an non-editable shelf"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue