From: Kamalesh Babulal Date: Fri, 21 Jun 2024 07:41:55 +0000 (+0530) Subject: ftests/088: Fix quote warnings X-Git-Tag: v3.2.0~87 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1b4ab2e2434647e1dfcdf9903cbf7a685e3bfdf7;p=thirdparty%2Flibcgroup.git ftests/088: Fix quote warnings Fix multiple "Q000 Double quotes found but single quotes preferred" warnings. Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- diff --git a/tests/ftests/088-sudo-cgclassify_systemd_scope.py b/tests/ftests/088-sudo-cgclassify_systemd_scope.py index 21fdf221..21f4cdc1 100755 --- a/tests/ftests/088-sudo-cgclassify_systemd_scope.py +++ b/tests/ftests/088-sudo-cgclassify_systemd_scope.py @@ -73,7 +73,7 @@ def test(config): config.process.create_process_in_cgroup(config, CONTROLLER, CGNAME, cgclassify=True, replace_idle=True) except RunError as re: - if "Failed to find idle_thread task" not in re.stderr: + if 'Failed to find idle_thread task' not in re.stderr: raise re else: result = consts.TEST_FAILED @@ -99,7 +99,7 @@ def test(config): config.process.create_process_in_cgroup(config, CONTROLLER, OUT_OF_SCOPE_CGNAME1, cgclassify=True, replace_idle=True) except RunError as re: - if "Failed to find idle_thread task" not in re.stderr: + if 'Failed to find idle_thread task' not in re.stderr: raise re else: result = consts.TEST_FAILED @@ -126,7 +126,7 @@ def test(config): config.process.create_process_in_cgroup(config, CONTROLLER, OUT_OF_SCOPE_CGNAME2, cgclassify=True, replace_idle=True) except RunError as re: - if "Failed to find idle_thread task" not in re.stderr: + if 'Failed to find idle_thread task' not in re.stderr: raise re else: result = consts.TEST_FAILED