chiark / gitweb /
add a nontrivial test that actually works
[disorder] / tests / nothing.py
1 #! /usr/bin/env python
2 import dtest,time
3
4 def test():
5     """Just start the server and then stop it a few seconds later"""
6     time.sleep(5)
7
8 if __name__ == '__main__':
9     dtest.run(test)