chiark
/
gitweb
/
~mdw
/
disorder
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
test to verify current dbversion behavior
[disorder]
/
tests
/
version.py
1
#! /usr/bin/env python
2
import dtest,time,disorder
3
4
def test():
5
"""Ask the server its version number"""
6
dtest.start_daemon()
7
time.sleep(2) # give the daemon a chance to start up
8
c = disorder.client()
9
v = c.version()
10
print "Server version: %s" % v
11
12
if __name__ == '__main__':
13
dtest.run(test)