mirror of
https://github.com/evennia/evennia.git
synced 2026-03-20 14:56:30 +01:00
Changed at_cmdset_get() hook to at_cmdset_get(**kwargs). This allows for the possibility to control dynamic generation of cmdsets, for example to force Exit cmdsets to be rebuilt. The aliasing command now uses this. Resolves #563.
This commit is contained in:
parent
ddc86f2a8b
commit
062a545a97
9 changed files with 45 additions and 27 deletions
|
|
@ -62,7 +62,7 @@ class TestObject(unittest.TestCase):
|
|||
|
||||
def test_at_cmdset_get(self):
|
||||
# object = Object(dbobj)
|
||||
# self.assertEqual(expected, object.at_cmdset_get())
|
||||
# self.assertEqual(expected, object.at_cmdset_get(**kwargs))
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
def test_at_desc(self):
|
||||
|
|
@ -270,7 +270,7 @@ class TestExit(unittest.TestCase):
|
|||
|
||||
def test_at_cmdset_get(self):
|
||||
# exit = Exit()
|
||||
# self.assertEqual(expected, exit.at_cmdset_get())
|
||||
# self.assertEqual(expected, exit.at_cmdset_get(**kwargs))
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
def test_at_failed_traverse(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue