Add tests for Unix.sysuptime and Unix.sysuname.

This commit is contained in:
Valentin Lorentz 2012-04-15 14:02:44 +02:00
parent 7de277d052
commit 70a1aced78
2 changed files with 7 additions and 1 deletions

View File

@ -92,4 +92,10 @@ if os.name == 'posix':
self.assertNotError('unix call /bin/ping -c 1 localhost')
self.assertRegexp('unix call /bin/ping -c 1 localhost', 'ping statistics')
self.assertError('unix call /usr/bin/nosuchcommandaoeuaoeu')
def testUptime(self):
self.assertNotError('unix sysuptime')
def testUname(self):
self.assertNotError('unix sysuname')
# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79:

View File

@ -1,3 +1,3 @@
"""stick the various versioning attributes in here, so we only have to change
them once."""
version = '0.83.4.1+limnoria (2012-04-15T12:02:39+0000)'
version = '0.83.4.1+limnoria (2012-04-15T12:02:44+0000)'