From: Kamalesh Babulal Date: Fri, 12 Jul 2024 10:25:38 +0000 (+0530) Subject: ftests/059: Fix quote warnings X-Git-Tag: v3.2.0~79 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ac94cc9ffa34713cf7e12347f1f6080161f804af;p=thirdparty%2Flibcgroup.git ftests/059: 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/059-sudo-invalid_systemd_create_scope2.py b/tests/ftests/059-sudo-invalid_systemd_create_scope2.py index ceaf7167..fb2da183 100755 --- a/tests/ftests/059-sudo-invalid_systemd_create_scope2.py +++ b/tests/ftests/059-sudo-invalid_systemd_create_scope2.py @@ -48,7 +48,7 @@ def test(config): result = consts.TEST_PASSED cause = None - cg1 = Cgroup("InvalidNameBecauseNoSlash", Version.CGROUP_V2) + cg1 = Cgroup('InvalidNameBecauseNoSlash', Version.CGROUP_V2) cg1.add_controller(CONTROLLER) try: cg1.create_scope2() @@ -60,7 +60,7 @@ def test(config): result = consts.TEST_FAILED cause = 'An invalid cgroup name unexpectedly passed: {}'.format(cg1.name) - cg2 = Cgroup("Invalid/TooMany/Slashes", Version.CGROUP_V2) + cg2 = Cgroup('Invalid/TooMany/Slashes', Version.CGROUP_V2) cg2.add_controller(CONTROLLER) try: cg2.create_scope2()