From 95d7cda61093a3a3c9d1ea98e0dd8d02e64b75bb Mon Sep 17 00:00:00 2001 From: frcroth Date: Sun, 15 Oct 2023 15:28:01 +0200 Subject: [PATCH] lint --- myhpi/tests/core/setup.py | 7 +++---- myhpi/tests/core/test_widgets.py | 5 +++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/myhpi/tests/core/setup.py b/myhpi/tests/core/setup.py index 8c698f77..f13e71f0 100644 --- a/myhpi/tests/core/setup.py +++ b/myhpi/tests/core/setup.py @@ -1,5 +1,6 @@ -from django.contrib.auth.models import Group, User, Permission -from wagtail.models import Site +from django.contrib.auth.models import Group, Permission, User +from wagtail.documents.models import Document +from wagtail.models import Collection, GroupCollectionPermission, Site from myhpi.core.models import ( FirstLevelMenuItem, @@ -10,8 +11,6 @@ RootPage, SecondLevelMenuItem, ) -from wagtail.models import Collection, GroupCollectionPermission -from wagtail.documents.models import Document def create_users(): diff --git a/myhpi/tests/core/test_widgets.py b/myhpi/tests/core/test_widgets.py index 00f5127b..85e69e73 100644 --- a/myhpi/tests/core/test_widgets.py +++ b/myhpi/tests/core/test_widgets.py @@ -1,9 +1,10 @@ from dataclasses import dataclass -from myhpi.core.widgets import AttachmentSelectWidget -from myhpi.tests.core.utils import MyHPIPageTestCase from django.forms.models import ModelChoiceIteratorValue +from myhpi.core.widgets import AttachmentSelectWidget +from myhpi.tests.core.utils import MyHPIPageTestCase + class WidgetTests(MyHPIPageTestCase): def setUp(self):