From: Kamalesh Babulal Date: Wed, 10 Jul 2024 10:20:16 +0000 (+0530) Subject: ftests/078: Fix quote warning X-Git-Tag: v3.2.0~81 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=87dcbfc8180e7f0a4bbfb9e08badc67a03ef42c7;p=thirdparty%2Flibcgroup.git ftests/078: Fix quote warning Fix "Q003 Change outer quotes to avoid escaping inner quotes" warning. Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- diff --git a/tests/ftests/078-sudo-cgcreate_systemd_scope.py b/tests/ftests/078-sudo-cgcreate_systemd_scope.py index 14d98372..ac6cc3c0 100755 --- a/tests/ftests/078-sudo-cgcreate_systemd_scope.py +++ b/tests/ftests/078-sudo-cgcreate_systemd_scope.py @@ -64,7 +64,7 @@ def test(config): Log.log_debug('Cgroup {} has pid {}'.format(CGNAME, pid)) except RunError: result = consts.TEST_FAILED - cause = 'Failed to read pid in {}\'s cgroup.procs'.format(CGNAME) + cause = "Failed to read pid in {}'s cgroup.procs".format(CGNAME) return result, cause # Since the scope was created without being made the default, we must specify