X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/aa8964354bc97cfdc7b6d51e560b9c0aacfd7243..fb1bc1f52d207b6405c966840dd46560c8bec739:/tests/nothing.py diff --git a/tests/nothing.py b/tests/nothing.py index 34cc706..c12443e 100755 --- a/tests/nothing.py +++ b/tests/nothing.py @@ -21,8 +21,8 @@ import dtest,time def test(): - """Just start the server and then stop it a few seconds later""" - time.sleep(5) + """Just start the server and then stop it""" + dtest.start_daemon() if __name__ == '__main__': - dtest.run(test) + dtest.run()