Skip to content

Commit

Permalink
solve vulture
Browse files Browse the repository at this point in the history
  • Loading branch information
sergargar committed Feb 29, 2024
1 parent 7d888ef commit 85a67b9
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions tests/providers/kubernetes/kubernetes_provider_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ class TestKubernetesProvider:
def test_setup_session(
self,
mock_list_kube_config_contexts,
mock_load_incluster_config,
mock_load_kube_config,
mock_api_client,
mock_rbac_api,
):
# Mocking the return value of list_kube_config_contexts
mock_list_kube_config_contexts.return_value = (
Expand Down Expand Up @@ -52,8 +48,6 @@ def test_setup_session(
@patch("kubernetes.config.load_kube_config")
def test_get_context_user_roles(
self,
mock_load_kube_config,
mock_load_incluster_config,
mock_list_kube_config_contexts,
mock_rbac_api,
):
Expand Down Expand Up @@ -97,12 +91,7 @@ def test_get_context_user_roles(
@patch("sys.stdout", new_callable=MagicMock)
def test_print_credentials(
self,
mock_stdout,
mock_list_kube_config_contexts,
mock_load_incluster_config,
mock_load_kube_config,
mock_api_client,
mock_rbac_api,
):
mock_list_kube_config_contexts.return_value = (
[
Expand Down Expand Up @@ -143,8 +132,6 @@ def test_print_credentials(
@patch("kubernetes.config.load_kube_config")
def test_search_and_save_roles(
self,
mock_load_kube_config,
mock_load_incluster_config,
mock_list_kube_config_contexts,
mock_rbac_api,
):
Expand Down

0 comments on commit 85a67b9

Please sign in to comment.