]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
ftests/016: Fix quote warnings
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 31 Jul 2024 10:54:45 +0000 (16:24 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Tue, 20 Aug 2024 20:42:50 +0000 (14:42 -0600)
Fix multiple "Q001 Single quote multiline found but double quotes
preferred" warnings by adjusting two lines into single line.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
tests/ftests/016-cgget-invalid_options.py

index 2fd80f6f181a5d908be58a89ca7e73b64ead535d..9c0138fe9d8a1aa68d6327af01d40ab0a963fcfa 100755 (executable)
@@ -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.