From: Kamalesh Babulal Date: Tue, 9 Jul 2024 10:19:25 +0000 (+0530) Subject: ftests/079: Fix quote warning X-Git-Tag: v3.2.0~82 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8d9ef2c00ed6a6a97f1a9e896540fc31e105c21f;p=thirdparty%2Flibcgroup.git ftests/079: 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/079-sudo-cgcreate_default_systemd_scope.py b/tests/ftests/079-sudo-cgcreate_default_systemd_scope.py index 4b9b7fbe..3156482a 100755 --- a/tests/ftests/079-sudo-cgcreate_default_systemd_scope.py +++ b/tests/ftests/079-sudo-cgcreate_default_systemd_scope.py @@ -63,7 +63,7 @@ def test(config): Log.log_debug('Cgroup {} has pid {}'.format(SCOPE_CGNAME, pid)) except RunError: result = consts.TEST_FAILED - cause = 'Failed to read pid in {}\'s cgroup.procs'.format(SCOPE_CGNAME) + cause = "Failed to read pid in {}'s cgroup.procs".format(SCOPE_CGNAME) return result, cause Cgroup.create_and_validate(config, None, CHILD_CGNAME)