# evennia.server.portal.tests

class `evennia.server.portal.tests.``TestAMPServer`(methodName='runTest')

  Bases: `twisted.trial._asynctest.TestCase`

  Test AMP communication

  `setUp`()

    Hook method for setting up the test fixture before exercising it.

  `test_amp_out`()
  `test_amp_in`()
  `test_large_msg`()

    Send message larger than AMP_MAXLEN - should be split into several

class `evennia.server.portal.tests.``TestIRC`(methodName='runTest')

  Bases: `django.test.testcases.TestCase`

  `test_plain_ansi`()

    Test that printable characters do not get mangled.

  `test_bold`()
  `test_italic`()
  `test_colors`()
  `test_identity`()

    Test that the composition of the function and its inverse gives the correct string.

class `evennia.server.portal.tests.``TestTelnet`(methodName='runTest')

  Bases: `twisted.trial._asynctest.TestCase`

  `setUp`()

    Hook method for setting up the test fixture before exercising it.

  `test_mudlet_ttype`()

class `evennia.server.portal.tests.``TestWebSocket`(methodName='runTest')

  Bases: `evennia.utils.test_resources.BaseEvenniaTest`

  `setUp`()

    Sets up testing environment

  `tearDown`()

    Hook method for deconstructing the test fixture after testing it.

  `test_data_in`()
  `test_data_out`()