From 4fe2e6f363bea2e871d93c2ef4931aa97b5007ca Mon Sep 17 00:00:00 2001 From: Johannes Nussbaum Date: Fri, 13 Oct 2023 09:57:53 +0200 Subject: [PATCH] isort --- dsp_permissions_scripts/doap/doap_set.py | 2 +- tests/test_doap_serialization.py | 4 ++-- tests/test_oap_serialization.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dsp_permissions_scripts/doap/doap_set.py b/dsp_permissions_scripts/doap/doap_set.py index 0c68df3e..d3b8e814 100644 --- a/dsp_permissions_scripts/doap/doap_set.py +++ b/dsp_permissions_scripts/doap/doap_set.py @@ -4,10 +4,10 @@ import requests +from dsp_permissions_scripts.doap.doap_get import create_doap_from_admin_route_response from dsp_permissions_scripts.doap.doap_model import Doap from dsp_permissions_scripts.models.scope import PermissionScope from dsp_permissions_scripts.utils.authentication import get_protocol -from dsp_permissions_scripts.doap.doap_get import create_doap_from_admin_route_response from dsp_permissions_scripts.utils.get_logger import get_logger, get_timestamp from dsp_permissions_scripts.utils.scope_serialization import ( create_admin_route_object_from_scope, diff --git a/tests/test_doap_serialization.py b/tests/test_doap_serialization.py index 28433552..ad9c5c90 100644 --- a/tests/test_doap_serialization.py +++ b/tests/test_doap_serialization.py @@ -2,13 +2,13 @@ import unittest from pathlib import Path -from dsp_permissions_scripts.models import builtin_groups from dsp_permissions_scripts.doap.doap_model import Doap, DoapTarget -from dsp_permissions_scripts.models.scope import PermissionScope from dsp_permissions_scripts.doap.doap_serialize import ( deserialize_doaps_of_project, serialize_doaps_of_project, ) +from dsp_permissions_scripts.models import builtin_groups +from dsp_permissions_scripts.models.scope import PermissionScope from tests.test_scope_serialization import compare_scopes diff --git a/tests/test_oap_serialization.py b/tests/test_oap_serialization.py index c1c00ecd..b2700092 100644 --- a/tests/test_oap_serialization.py +++ b/tests/test_oap_serialization.py @@ -3,8 +3,8 @@ from pathlib import Path from dsp_permissions_scripts.models import builtin_groups -from dsp_permissions_scripts.oap.oap_model import Oap from dsp_permissions_scripts.models.scope import PermissionScope +from dsp_permissions_scripts.oap.oap_model import Oap from dsp_permissions_scripts.oap.oap_serialize import ( deserialize_resource_oaps, serialize_resource_oaps,