]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
ftests/017: Fix quote warnings
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Tue, 30 Jul 2024 10:51:04 +0000 (16:21 +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.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
tests/ftests/017-cgconfig-load_file.py

index 8ab58eb1c7999f6896958df1006c53b5ad430349..65edf0432e601ebef7b9199f8756b2f296cca2b4 100755 (executable)
@@ -19,14 +19,14 @@ CFS_PERIOD = '500000'
 CFS_QUOTA = '100000'
 SHARES = '999'
 
-CONFIG_FILE = '''group
+CONFIG_FILE = """group
 {} {{
     {} {{
         cpu.cfs_period_us = {};
         cpu.cfs_quota_us = {};
         cpu.shares = {};
     }}
-}}'''.format(CGNAME, CONTROLLER, CFS_PERIOD, CFS_QUOTA, SHARES)
+}}""".format(CGNAME, CONTROLLER, CFS_PERIOD, CFS_QUOTA, SHARES)
 
 CONFIG_FILE_NAME = os.path.join(os.getcwd(), '017cgconfig.conf')