evennia.server.portal.tests

class evennia.server.portal.tests.TestAMPServer(methodName='runTest')[源代码]

基类: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')[源代码]

基类: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')[源代码]

基类: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')[源代码]

基类: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()[源代码]