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