Python formatting

This commit is contained in:
Mouse Reeve 2021-03-30 09:50:51 -07:00
parent 047e827382
commit b16f95c8cd

View file

@ -50,8 +50,7 @@ class ImportViews(TestCase):
""" retry failed items """ """ retry failed items """
view = views.ImportStatus.as_view() view = views.ImportStatus.as_view()
import_job = models.ImportJob.objects.create( import_job = models.ImportJob.objects.create(
user=self.local_user, user=self.local_user, privacy="unlisted"
privacy="unlisted"
) )
request = self.factory.post("") request = self.factory.post("")
request.user = self.local_user request.user = self.local_user