mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
fix: #20 separate tests in Test_improve_coverage
This commit is contained in:
parent
6d1e85b198
commit
dd442e9338
1 changed files with 3 additions and 2 deletions
|
|
@ -25,7 +25,7 @@ class TestScript(BaseEvenniaTest):
|
|||
self.assertFalse(errors, errors)
|
||||
mockinit.assert_called()
|
||||
|
||||
class Test_improve_coverage(TestCase):
|
||||
class TestTickerHandler(TestCase):
|
||||
def test_store_key_raises_RunTimeError(self):
|
||||
with self.assertRaises(RuntimeError):
|
||||
th=TickerHandler()
|
||||
|
|
@ -35,7 +35,8 @@ class Test_improve_coverage(TestCase):
|
|||
with self.assertRaises(RuntimeError):
|
||||
th=TickerHandler()
|
||||
th.remove(callback=1)
|
||||
|
||||
|
||||
class TestScriptDBManager(TestCase):
|
||||
def test_not_obj_return_empty_list(self):
|
||||
manager_obj = ScriptDBManager()
|
||||
returned_list = manager_obj.get_all_scripts_on_obj(False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue