mirror of
https://github.com/evennia/evennia.git
synced 2026-03-21 15:26:30 +01:00
74 lines
2.6 KiB
Python
74 lines
2.6 KiB
Python
import unittest
|
|
|
|
class test__CmdSetMeta(unittest.TestCase):
|
|
def test___init__(self):
|
|
# __cmd_set_meta = _CmdSetMeta(*args, **kwargs)
|
|
assert True # TODO: implement your test here
|
|
|
|
class TestCmdSet(unittest.TestCase):
|
|
def test___add__(self):
|
|
# cmd_set = CmdSet(cmdsetobj, key)
|
|
# self.assertEqual(expected, cmd_set.__add__(cmdset_b))
|
|
assert True # TODO: implement your test here
|
|
|
|
def test___contains__(self):
|
|
# cmd_set = CmdSet(cmdsetobj, key)
|
|
# self.assertEqual(expected, cmd_set.__contains__(othercmd))
|
|
assert True # TODO: implement your test here
|
|
|
|
def test___init__(self):
|
|
# cmd_set = CmdSet(cmdsetobj, key)
|
|
assert True # TODO: implement your test here
|
|
|
|
def test___iter__(self):
|
|
# cmd_set = CmdSet(cmdsetobj, key)
|
|
# self.assertEqual(expected, cmd_set.__iter__())
|
|
assert True # TODO: implement your test here
|
|
|
|
def test___str__(self):
|
|
# cmd_set = CmdSet(cmdsetobj, key)
|
|
# self.assertEqual(expected, cmd_set.__str__())
|
|
assert True # TODO: implement your test here
|
|
|
|
def test_add(self):
|
|
# cmd_set = CmdSet(cmdsetobj, key)
|
|
# self.assertEqual(expected, cmd_set.add(cmd))
|
|
assert True # TODO: implement your test here
|
|
|
|
def test_at_cmdset_creation(self):
|
|
# cmd_set = CmdSet(cmdsetobj, key)
|
|
# self.assertEqual(expected, cmd_set.at_cmdset_creation())
|
|
assert True # TODO: implement your test here
|
|
|
|
def test_count(self):
|
|
# cmd_set = CmdSet(cmdsetobj, key)
|
|
# self.assertEqual(expected, cmd_set.count())
|
|
assert True # TODO: implement your test here
|
|
|
|
def test_get(self):
|
|
# cmd_set = CmdSet(cmdsetobj, key)
|
|
# self.assertEqual(expected, cmd_set.get(cmd))
|
|
assert True # TODO: implement your test here
|
|
|
|
def test_get_all_cmd_keys_and_aliases(self):
|
|
# cmd_set = CmdSet(cmdsetobj, key)
|
|
# self.assertEqual(expected, cmd_set.get_all_cmd_keys_and_aliases(caller))
|
|
assert True # TODO: implement your test here
|
|
|
|
def test_get_system_cmds(self):
|
|
# cmd_set = CmdSet(cmdsetobj, key)
|
|
# self.assertEqual(expected, cmd_set.get_system_cmds())
|
|
assert True # TODO: implement your test here
|
|
|
|
def test_make_unique(self):
|
|
# cmd_set = CmdSet(cmdsetobj, key)
|
|
# self.assertEqual(expected, cmd_set.make_unique(caller))
|
|
assert True # TODO: implement your test here
|
|
|
|
def test_remove(self):
|
|
# cmd_set = CmdSet(cmdsetobj, key)
|
|
# self.assertEqual(expected, cmd_set.remove(cmd))
|
|
assert True # TODO: implement your test here
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|