From 96e84e241589af8a8ea3f8f8c232e45367035f2a Mon Sep 17 00:00:00 2001 From: Johannes Nussbaum Date: Tue, 3 Oct 2023 07:43:36 +0200 Subject: [PATCH] isort --- tests/test_scope_serialization.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_scope_serialization.py b/tests/test_scope_serialization.py index 920949aa..858981d8 100644 --- a/tests/test_scope_serialization.py +++ b/tests/test_scope_serialization.py @@ -1,5 +1,5 @@ -from typing import Any import unittest +from typing import Any from dsp_permissions_scripts.models.groups import BuiltinGroup from dsp_permissions_scripts.models.scope import PermissionScope @@ -101,9 +101,10 @@ def _resolve_prefixes_of_admin_route_object(self, admin_route_object: list[dict[ "knora-admin:", "http://www.knora.org/ontology/knora-admin#" ) return admin_route_object - + def _resolve_prefixes_of_perm_string(self, perm_string: str) -> str: return perm_string.replace("knora-admin:", "http://www.knora.org/ontology/knora-admin#") + if __name__ == "__main__": unittest.main()