Run Black

This commit is contained in:
_Frky 2022-05-30 15:28:05 +02:00
parent 9fdecf5be7
commit f696afa45d
3 changed files with 10 additions and 22 deletions

View file

@ -47,10 +47,10 @@ def test(f):
def w(m):
try:
# check that masscanned is still running
assert(m.poll() is None), "masscanned not running"
assert m.poll() is None, "masscanned not running"
f()
# check that masscanned is still running
assert(m.poll() is None), "masscanned terminated unexpectedly"
assert m.poll() is None, "masscanned terminated unexpectedly"
LOG.info("{}{}".format(fname, OK))
except AssertionError as e:
LOG.error("{}{}: {}".format(fname, KO, e))