Commit cae858c 1 parent 780f01f commit cae858c Copy full SHA for cae858c
File tree 1 file changed +0
-14
lines changed
1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -62,20 +62,6 @@ def test_get_bootstrap_servers_success(aws_client):
62
62
assert response == bootstrap_servers .split ("," )
63
63
64
64
65
- @patch ("chaosaws.msk.probes.aws_client" , autospec = True )
66
- def test_get_bootstrap_servers_empty_response (aws_client ):
67
- client = MagicMock ()
68
- aws_client .return_value = client
69
- cluster_arn = "arn_msk_cluster"
70
-
71
- client .get_bootstrap_brokers .return_value = None
72
-
73
- response = get_bootstrap_servers (cluster_arn = cluster_arn )
74
-
75
- client .get_bootstrap_brokers .assert_called_with (ClusterArn = cluster_arn )
76
- assert response == []
77
-
78
-
79
65
@patch ("chaosaws.msk.probes.aws_client" , autospec = True )
80
66
def test_get_bootstrap_server_cluster_not_found (aws_client ):
81
67
client = MagicMock ()
You can’t perform that action at this time.
0 commit comments