mirror of
https://github.com/evennia/evennia.git
synced 2026-04-03 14:37:17 +02:00
Added auto-created empty unittest definitions.
This commit is contained in:
parent
440afe6928
commit
bb7b73b7c2
48 changed files with 3577 additions and 0 deletions
69
src/tests/test_commands_command.py
Normal file
69
src/tests/test_commands_command.py
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
import unittest
|
||||
|
||||
class TestCommandMeta(unittest.TestCase):
|
||||
def test___init__(self):
|
||||
# command_meta = CommandMeta(*args, **kwargs)
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
class TestCommand(unittest.TestCase):
|
||||
def test___contains__(self):
|
||||
# command = Command(**kwargs)
|
||||
# self.assertEqual(expected, command.__contains__(query))
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
def test___eq__(self):
|
||||
# command = Command(**kwargs)
|
||||
# self.assertEqual(expected, command.__eq__(cmd))
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
def test___init__(self):
|
||||
# command = Command(**kwargs)
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
def test___ne__(self):
|
||||
# command = Command(**kwargs)
|
||||
# self.assertEqual(expected, command.__ne__(cmd))
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
def test___str__(self):
|
||||
# command = Command(**kwargs)
|
||||
# self.assertEqual(expected, command.__str__())
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
def test_access(self):
|
||||
# command = Command(**kwargs)
|
||||
# self.assertEqual(expected, command.access(srcobj, access_type, default))
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
def test_at_post_cmd(self):
|
||||
# command = Command(**kwargs)
|
||||
# self.assertEqual(expected, command.at_post_cmd())
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
def test_at_pre_cmd(self):
|
||||
# command = Command(**kwargs)
|
||||
# self.assertEqual(expected, command.at_pre_cmd())
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
def test_func(self):
|
||||
# command = Command(**kwargs)
|
||||
# self.assertEqual(expected, command.func())
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
def test_match(self):
|
||||
# command = Command(**kwargs)
|
||||
# self.assertEqual(expected, command.match(cmdname))
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
def test_msg(self):
|
||||
# command = Command(**kwargs)
|
||||
# self.assertEqual(expected, command.msg(msg, to_obj, from_obj, sessid, all_sessions, **kwargs))
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
def test_parse(self):
|
||||
# command = Command(**kwargs)
|
||||
# self.assertEqual(expected, command.parse())
|
||||
assert True # TODO: implement your test here
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue