summaryrefslogtreecommitdiff
path: root/src/statistics/test_gnunet_statistics.py.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/statistics/test_gnunet_statistics.py.in')
-rw-r--r--src/statistics/test_gnunet_statistics.py.in8
1 files changed, 6 insertions, 2 deletions
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))