Back to index

plone3  3.1.7
Classes | Functions | Variables
SecureMailHost.tests.test_messages Namespace Reference


class  TestMessage
class  TestBuergschaftLatin1
class  TestBuergschaftASCII
class  TestBuergschaftUTF8
class  TestLoremIpsum
class  TestMimeTextAndNonAsciiHeaders


def test_suite


tuple HERE = os.path.dirname(__file__)
tuple buergschaft_latin1_in = open(os.path.join(HERE, 'in', 'buergschaft.txt'), 'r')
tuple buergschaft_utf8_in = unicode(buergschaft_latin1_in, 'latin-1')
tuple loremipsum_in = open(os.path.join(HERE, 'in', 'loremipsum.txt'), 'r')
tuple buergschaft_latin1_msg = MIMEText(buergschaft_latin1_in, 'plain', 'latin-1')
tuple buergschaft_latin1_out = open(os.path.join(HERE, 'out', 'buergschaft_latin1.txt'), 'r')
tuple buergschaft_out = open(os.path.join(HERE, 'out', 'buergschaft.txt'), 'r')
tuple buergschaft_utf8_out = open(os.path.join(HERE, 'out', 'buergschaft_utf8.txt'), 'r')
tuple buergschaft_utf8_to_out = open(os.path.join(HERE, 'out', 'buergschaft_utf8_to.txt'), 'r')
tuple loremipsum_out = open(os.path.join(HERE, 'out', 'loremipsum.txt'), 'r')
list tests = []

Function Documentation

Definition at line 140 of file

00141 def test_suite():
00142     from unittest import TestSuite, makeSuite
00143     suite = TestSuite()
00144     for test in tests:
00145         suite.addTest(makeSuite(test))
00146     return suite

Variable Documentation

tuple SecureMailHost.tests.test_messages.buergschaft_latin1_in = open(os.path.join(HERE, 'in', 'buergschaft.txt'), 'r')

Definition at line 18 of file

Definition at line 21 of file

tuple SecureMailHost.tests.test_messages.buergschaft_latin1_out = open(os.path.join(HERE, 'out', 'buergschaft_latin1.txt'), 'r')

Definition at line 23 of file

tuple SecureMailHost.tests.test_messages.buergschaft_out = open(os.path.join(HERE, 'out', 'buergschaft.txt'), 'r')

Definition at line 24 of file

Definition at line 19 of file

tuple SecureMailHost.tests.test_messages.buergschaft_utf8_out = open(os.path.join(HERE, 'out', 'buergschaft_utf8.txt'), 'r')

Definition at line 25 of file

tuple SecureMailHost.tests.test_messages.buergschaft_utf8_to_out = open(os.path.join(HERE, 'out', 'buergschaft_utf8_to.txt'), 'r')

Definition at line 26 of file

tuple SecureMailHost.tests.test_messages.HERE = os.path.dirname(__file__)

Definition at line 16 of file

tuple SecureMailHost.tests.test_messages.loremipsum_in = open(os.path.join(HERE, 'in', 'loremipsum.txt'), 'r')

Definition at line 20 of file

tuple SecureMailHost.tests.test_messages.loremipsum_out = open(os.path.join(HERE, 'out', 'loremipsum.txt'), 'r')

Definition at line 27 of file

Definition at line 82 of file