From a5f5e7ed9b07b902af4438d76087e034abcba9b2 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sat, 12 Oct 2019 18:16:07 +0000 Subject: format python --- src/statistics/test_gnunet_statistics.py.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/statistics/test_gnunet_statistics.py.in') diff --git a/src/statistics/test_gnunet_statistics.py.in b/src/statistics/test_gnunet_statistics.py.in index b14dc9d9e..3a13c24f3 100644 --- a/src/statistics/test_gnunet_statistics.py.in +++ b/src/statistics/test_gnunet_statistics.py.in @@ -122,7 +122,9 @@ if len([x for x in stdo.splitlines() if re.search(b'42', x)]) != 1: print("PASS") print("TEST: Set persistent value...", end='') -rc, stdo, stde = r_st(['-n', 'lasting', '-s', 'subsystem', '40', '-p'], nofail=True, want_stdo=False) +rc, stdo, stde = r_st(['-n', 'lasting', '-s', 'subsystem', '40', '-p'], + nofail=True, + want_stdo=False) rc, stdo, stde = r_st([], nofail=True, want_stdo=True) if len([x for x in stdo.splitlines() if re.search(b'40', x)]) != 1: fail("FAIL: unexpected output:\n{}".format(stdo)) @@ -137,7 +139,9 @@ if len([x for x in stdo.splitlines() if re.search(b'40', x)]) != 1: print("PASS") print("TEST: Removing persistence...", end='') -rc, stdo, stde = r_st(['-n', 'lasting', '-s', 'subsystem', '40'], nofail=True, want_stdo=False) +rc, stdo, stde = r_st(['-n', 'lasting', '-s', 'subsystem', '40'], + nofail=True, + want_stdo=False) rc, stdo, stde = r_st([], nofail=True, want_stdo=True) if len([x for x in stdo.splitlines() if re.search(b'!', x)]) != 0: fail("FAIL: unexpected output:\n{}".format(stdo)) -- cgit v1.2.3