From: Kamalesh Babulal Date: Mon, 24 Jun 2024 07:54:37 +0000 (+0530) Subject: ftests/076: Fix quote warning X-Git-Tag: v3.2.0~84 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=03f21354ebf53ae45d3a7733a87878465bc4764d;p=thirdparty%2Flibcgroup.git ftests/076: Fix quote warning Fix "Q001 Single quote multiline found but double quotes preferred" warning. Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- diff --git a/tests/ftests/076-cgconfig-auto_convert.py b/tests/ftests/076-cgconfig-auto_convert.py index 751feb26..a3486c94 100755 --- a/tests/ftests/076-cgconfig-auto_convert.py +++ b/tests/ftests/076-cgconfig-auto_convert.py @@ -24,7 +24,7 @@ CGNAME_V2 = '076cgconfig_v2' CFS_MAX = '"max 100000"' CPU_WEIGHT = '50' -CONFIG_FILE = ''' +CONFIG_FILE = """ group {} {{ {} {{ cpu.cfs_period_us = {}; @@ -37,7 +37,7 @@ group {} {{ cpu.max = {}; cpu.weight = {}; }} -}}'''.format( +}}""".format( CGNAME_V1, CONTROLLER, CFS_PERIOD, CFS_QUOTA, CPU_SHARES, CGNAME_V2, CONTROLLER, CFS_MAX, CPU_WEIGHT )