mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Add tests for Unix.sysuptime and Unix.sysuname.
This commit is contained in:
parent
7de277d052
commit
70a1aced78
@ -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:
|
||||
|
@ -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)'
|
||||
|
Loading…
Reference in New Issue
Block a user