Python formatting

This commit is contained in:
Mouse Reeve 2021-10-20 14:34:42 -07:00
parent 5c2d6e6510
commit f65a54eb4a

View file

@ -109,11 +109,12 @@ class ShelfActionViews(TestCase):
shelf = models.Shelf.objects.get(identifier="read") shelf = models.Shelf.objects.get(identifier="read")
request = self.factory.post( request = self.factory.post(
"", { "",
{
"book": self.book.id, "book": self.book.id,
"shelf": shelf.identifier, "shelf": shelf.identifier,
"change-shelf-from": previous_shelf.identifier, "change-shelf-from": previous_shelf.identifier,
} },
) )
request.user = self.local_user request.user = self.local_user