Skip to content

Commit cae858c

Browse files
committed
remove unnecesary empty response test
Signed-off-by: Jorge Tapicha <[email protected]>
1 parent 780f01f commit cae858c

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

tests/msk/test_msk_probes.py

-14
Original file line numberDiff line numberDiff line change
@@ -62,20 +62,6 @@ def test_get_bootstrap_servers_success(aws_client):
6262
assert response == bootstrap_servers.split(",")
6363

6464

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-
7965
@patch("chaosaws.msk.probes.aws_client", autospec=True)
8066
def test_get_bootstrap_server_cluster_not_found(aws_client):
8167
client = MagicMock()

0 commit comments

Comments
 (0)