From 6f39a6544c140455feaf6c29d887dcd851e40aef Mon Sep 17 00:00:00 2001 From: Kamalesh Babulal Date: Sat, 22 Jun 2024 13:18:29 +0530 Subject: [PATCH] ftests/082: Fix quote warnings Fix multiple "Q000 Double quotes found but single quotes preferred" warnings. Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- tests/ftests/082-pybindings-cgrp_get_curr_ctrl_path-v2.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/ftests/082-pybindings-cgrp_get_curr_ctrl_path-v2.py b/tests/ftests/082-pybindings-cgrp_get_curr_ctrl_path-v2.py index 1426619f..e15c673a 100755 --- a/tests/ftests/082-pybindings-cgrp_get_curr_ctrl_path-v2.py +++ b/tests/ftests/082-pybindings-cgrp_get_curr_ctrl_path-v2.py @@ -48,7 +48,7 @@ def test(config): result = consts.TEST_PASSED cause = None - expected_path = "/" + CHILDCG + expected_path = '/' + CHILDCG pid = CgroupCli.get_pids_in_cgroup(config, CHILDCG, CONTROLLER)[0] cgrp = Cgroup(CGNAME, Version.CGROUP_V2) @@ -67,7 +67,7 @@ def test(config): # It's expected to fail because we not had created cgroup. # try: - cgrp_path = cgrp.get_current_controller_path(pid, "memory") + cgrp_path = cgrp.get_current_controller_path(pid, 'memory') except RuntimeError as re: if '50001' not in str(re): raise re @@ -77,7 +77,7 @@ def test(config): # It's expected to fail because such controller doesn't exists. # try: - cgrp_path = cgrp.get_current_controller_path(pid, "invalid") + cgrp_path = cgrp.get_current_controller_path(pid, 'invalid') except RuntimeError as re: if '50011' not in str(re): raise re -- 2.47.3