Skip to content

Commit

Permalink
Import get_keycloak_admin from upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
smokestacklightnin committed Jan 3, 2025
1 parent 54e088a commit a171204
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/tests_unit/test_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,13 @@ class MonkeypatchApiResponse:
monkey_patch_list_namespaced_daemon_set,
)

from _nebari import keycloak as _keycloak
from _nebari import upgrade as _upgrade

def monkey_patch_get_keycloak_admin(*args, **kwargs):
return MockKeycloakAdmin()

monkeypatch.setattr(
_keycloak,
_upgrade,
"get_keycloak_admin",
monkey_patch_get_keycloak_admin,
)
Expand Down

0 comments on commit a171204

Please sign in to comment.