Skip to content

Commit

Permalink
isort
Browse files Browse the repository at this point in the history
  • Loading branch information
jnussbaum committed Oct 3, 2023
1 parent 10a9557 commit 96e84e2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_scope_serialization.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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()

0 comments on commit 96e84e2

Please sign in to comment.