chiark / gitweb /
expand streaming instructions
[disorder] / tests / nothing.py
index aeb0308f0b5efbf3f5f73212bb5a67daa1ccc0db..c12443eb7e523177d99a17cfe071dbb9c4428e98 100755 (executable)
 import dtest,time
 
 def test():
-    """Just start the server and then stop it a few seconds later"""
-    dtest.start()
-    time.sleep(2)
-    dtest.stop()
+    """Just start the server and then stop it"""
+    dtest.start_daemon()
 
 if __name__ == '__main__':
     dtest.run()