From: Kamalesh Babulal Date: Wed, 31 Jul 2024 10:54:45 +0000 (+0530) Subject: ftests/016: Fix quote warnings X-Git-Tag: v3.2.0~63 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=300cd90ac026f30acb43e0f60fa30501024f04e8;p=thirdparty%2Flibcgroup.git ftests/016: Fix quote warnings Fix multiple "Q001 Single quote multiline found but double quotes preferred" warnings by adjusting two lines into single line. Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- diff --git a/tests/ftests/016-cgget-invalid_options.py b/tests/ftests/016-cgget-invalid_options.py index 2fd80f6f..9c0138fe 100755 --- a/tests/ftests/016-cgget-invalid_options.py +++ b/tests/ftests/016-cgget-invalid_options.py @@ -91,7 +91,7 @@ def test(config): result = consts.TEST_FAILED cause = ( "#3 Expected 'cgget: error parsing parameter name' to " - "be in stderr" + 'be in stderr' ) return result, cause @@ -116,10 +116,7 @@ def test(config): except RunError as re: if 'cgget: cannot find controller' not in re.stderr: result = consts.TEST_FAILED - cause = ( - "#4 Expected 'cgget: cannot find controller' to be in " - "stderr" - ) + cause = "#4 Expected 'cgget: cannot find controller' to be in stderr" return result, cause # legacy cgget returns 0 but populates stderr for this case.