chiark / gitweb /
expand streaming instructions
[disorder] / tests / nothing.py
index 34cc706eb8c5351c3e0391399a7f9377c19d7030..c12443eb7e523177d99a17cfe071dbb9c4428e98 100755 (executable)
@@ -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()