mirror of
https://github.com/ivre/masscanned.git
synced 2025-10-02 14:48:22 +00:00
Run Black
This commit is contained in:
parent
9fdecf5be7
commit
f696afa45d
3 changed files with 10 additions and 22 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue