Skip to content

Commit

Permalink
Satisfy ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
malexmave authored and twwd committed Jan 6, 2025
1 parent d5fa820 commit 8b12197
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import pytest
import os

from kcwarden.custom_types.database import Database
from kcwarden.custom_types.keycloak_object import (
Realm,
Client,
Expand Down
2 changes: 1 addition & 1 deletion tests/monitors/client/test_client_with_sensitive_role.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def test_client_has_some_way_of_mapping_roles_but_not_without_anything(self, mon
]
)
# fmt: on
def test_audit(
def test_audit( # noqa: PLR0915
self,
db_backed_monitor,
create_mock_scope,
Expand Down
2 changes: 0 additions & 2 deletions tests/monitors/client/test_client_with_sensitive_scope.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import pytest
from unittest.mock import Mock

from kcwarden.monitors.client.client_with_sensitive_scope import ClientWithSensitiveScope
from kcwarden.custom_types import config_keys
from kcwarden.custom_types.keycloak_object import ClientScope


class TestClientWithSensitiveScope:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from unittest.mock import Mock

from kcwarden.monitors.protocol_mapper.protocol_mapper_with_config import ProtocolMapperWithConfig
from kcwarden.custom_types.keycloak_object import ClientScope
from kcwarden.custom_types import config_keys


Expand Down

0 comments on commit 8b12197

Please sign in to comment.