mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-02 16:09:24 +01:00
Updated some tests.
This commit is contained in:
parent
fd39c5904d
commit
c75e124224
@ -35,7 +35,7 @@ import re
|
|||||||
|
|
||||||
import utils
|
import utils
|
||||||
|
|
||||||
class FunCommandsTest(PluginTestCase, PluginDocumentation):
|
class FunTest(PluginTestCase, PluginDocumentation):
|
||||||
plugins = ('Fun',)
|
plugins = ('Fun',)
|
||||||
def testNoErrors(self):
|
def testNoErrors(self):
|
||||||
self.assertNotError('leet foobar')
|
self.assertNotError('leet foobar')
|
||||||
|
@ -36,7 +36,7 @@ import world
|
|||||||
class StatusTestCase(PluginTestCase, PluginDocumentation):
|
class StatusTestCase(PluginTestCase, PluginDocumentation):
|
||||||
plugins = ('Status', 'OwnerCommands')
|
plugins = ('Status', 'OwnerCommands')
|
||||||
def testBestuptime(self):
|
def testBestuptime(self):
|
||||||
self.assertError('bestuptime')
|
self.assertNotRegexp('bestuptime', '33 years')
|
||||||
self.assertNotError('unload Status')
|
self.assertNotError('unload Status')
|
||||||
self.assertNotError('load Status')
|
self.assertNotError('load Status')
|
||||||
self.assertNotError('bestuptime')
|
self.assertNotError('bestuptime')
|
||||||
|
Loading…
Reference in New Issue
Block a user