From 16509f6811673409ffb765511a327bf38e614825 Mon Sep 17 00:00:00 2001 From: Nicholas Blaskey Date: Tue, 29 Aug 2023 15:33:18 -0400 Subject: [PATCH] test: make error checking case insensitive fixing rbac test (#7749) (cherry picked from commit 046e060af00a7ccbf98fdb83de042e46d2498f30) --- e2e_tests/tests/cluster/test_groups.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e_tests/tests/cluster/test_groups.py b/e2e_tests/tests/cluster/test_groups.py index a34a54359e1..a767d8c3e5e 100644 --- a/e2e_tests/tests/cluster/test_groups.py +++ b/e2e_tests/tests/cluster/test_groups.py @@ -26,7 +26,7 @@ def det_cmd_json(cmd: List[str]) -> Any: def det_cmd_expect_error(cmd: List[str], expected: str) -> None: res = det_cmd(cmd) assert res.returncode != 0 - assert expected in res.stderr.decode() + assert expected.lower() in res.stderr.decode().lower() @pytest.mark.e2e_cpu_rbac