From 34ae3597aab0ff642c328a40c357a5d1e5925c0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20de=20Saint=20Martin?= Date: Mon, 29 Jun 2020 15:44:59 +0200 Subject: [PATCH] Update elasticsearch/tests/elasticsearch_test.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Julien Mailleret <8582351+jmlrt@users.noreply.github.com> Signed-off-by: Cédric de Saint Martin --- elasticsearch/tests/elasticsearch_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elasticsearch/tests/elasticsearch_test.py b/elasticsearch/tests/elasticsearch_test.py index b3636af7d..37e63f2fd 100755 --- a/elasticsearch/tests/elasticsearch_test.py +++ b/elasticsearch/tests/elasticsearch_test.py @@ -87,7 +87,7 @@ def test_defaults(): # volumeClaimTemplates v = r["statefulset"][uname]["spec"]["volumeClaimTemplates"][0] assert v["metadata"]["name"] == uname - assert v["metadata"]["labels"] == {} + assert "labels" not in v["metadata"] assert v["spec"]["accessModes"] == ["ReadWriteOnce"] assert v["spec"]["resources"]["requests"]["storage"] == "30Gi"