Moves shelf delete button

This commit is contained in:
Mouse Reeve
2021-09-28 17:17:01 -07:00
parent 6d9bf349d1
commit 5ea40e23b7
4 changed files with 22 additions and 17 deletions

View File

@ -270,7 +270,8 @@ class ShelfViews(TestCase):
def test_delete_shelf_not_editable(self, *_):
"""delete a brand new custom shelf"""
shelf = self.local_user.shelfset.first()
shelf = self.local_user.shelf_set.first()
self.assertFalse(shelf.editable)
request = self.factory.post("")
request.user = self.local_user