evennia/lib/tests/test_comms_channelhandler.py

45 lines
1.6 KiB
Python

import unittest
class TestChannelCommand(unittest.TestCase):
def test_func(self):
# channel_command = ChannelCommand()
# self.assertEqual(expected, channel_command.func())
assert True # TODO: implement your test here
def test_parse(self):
# channel_command = ChannelCommand()
# self.assertEqual(expected, channel_command.parse())
assert True # TODO: implement your test here
class TestChannelHandler(unittest.TestCase):
def test___init__(self):
# channel_handler = ChannelHandler()
assert True # TODO: implement your test here
def test___str__(self):
# channel_handler = ChannelHandler()
# self.assertEqual(expected, channel_handler.__str__())
assert True # TODO: implement your test here
def test_add_channel(self):
# channel_handler = ChannelHandler()
# self.assertEqual(expected, channel_handler.add_channel(channel))
assert True # TODO: implement your test here
def test_clear(self):
# channel_handler = ChannelHandler()
# self.assertEqual(expected, channel_handler.clear())
assert True # TODO: implement your test here
def test_get_cmdset(self):
# channel_handler = ChannelHandler()
# self.assertEqual(expected, channel_handler.get_cmdset(source_object))
assert True # TODO: implement your test here
def test_update(self):
# channel_handler = ChannelHandler()
# self.assertEqual(expected, channel_handler.update())
assert True # TODO: implement your test here
if __name__ == '__main__':
unittest.main()