diff --git a/elasticsearch/tests/elasticsearch_test.py b/elasticsearch/tests/elasticsearch_test.py index ec4aa9c6e..9340eba9e 100755 --- a/elasticsearch/tests/elasticsearch_test.py +++ b/elasticsearch/tests/elasticsearch_test.py @@ -1460,8 +1460,4 @@ def test_network_policy(): {"podSelector": {"matchLabels": {"app": "elasticsearch-master"}}}, ] assert transport["ports"][0]["port"] == 9300 - assert pod_selector == { - "matchLabels": { - "app": "elasticsearch-master", - } - } + assert pod_selector == {"matchLabels": {"app": "elasticsearch-master",}}