evennia.server.portal.tests

class evennia.server.portal.tests.TestAMPServer(methodName='runTest')[source]

Bases: twisted.trial._asynctest.TestCase

Test AMP communication

setUp()[source]

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

test_amp_out()[source]
test_amp_in()[source]
test_large_msg()[source]

Send message larger than AMP_MAXLEN - should be split into several

class evennia.server.portal.tests.TestIRC(methodName='runTest')[source]

Bases: django.test.testcases.TestCase

test_plain_ansi()[source]

Test that printable characters do not get mangled.

test_bold()[source]
test_italic()[source]
test_colors()[source]
test_identity()[source]

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

class evennia.server.portal.tests.TestTelnet(methodName='runTest')[source]

Bases: twisted.trial._asynctest.TestCase

setUp()[source]

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

test_mudlet_ttype()[source]
class evennia.server.portal.tests.TestWebSocket(methodName='runTest')[source]

Bases: evennia.utils.test_resources.EvenniaTest

setUp()[source]

Sets up testing environment

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_data_in()[source]
test_data_out()[source]