]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/mon: flake8 fixes
authorKefu Chai <kchai@redhat.com>
Sat, 20 Jun 2020 02:07:00 +0000 (10:07 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 23 Jun 2020 15:01:27 +0000 (23:01 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/workunits/mon/test_mon_config_key.py

index 285d1f4cea6ad28ce8e534a3f97907aeecf44faa..bcc1a79dd35198fab91885ec83c5cec1a527ce5c 100755 (executable)
@@ -444,7 +444,8 @@ def main():
                 read_data = json.load(temp_file)
             except ValueError:
                 temp_file.seek(0)
-                assert False, "{op} output was not valid JSON:\n{filedata}".format(op, temp_file.readlines())
+                assert False, "{op} output was not valid JSON:\n{filedata}".format(
+                    op=op, filedata=temp_file.readlines())
 
             if sop == 'existing':
                 assert key in read_data, "key '{k}' not found in list/dump output".format(k=key)