Barry Warsaw | 763af41 | 2002-01-27 06:48:47 +0000 | [diff] [blame] | 1 | # Copyright (C) 2001,2002 Python Software Foundation |
Barry Warsaw | 4107585 | 2001-09-23 03:18:13 +0000 | [diff] [blame] | 2 | # email package unit tests |
3 | |||||
Barry Warsaw | d33d474 | 2002-07-19 22:44:23 +0000 | [diff] [blame] | 4 | import unittest |
Barry Warsaw | 190390b | 2002-07-19 22:31:10 +0000 | [diff] [blame] | 5 | # The specific tests now live in Lib/email/test |
Barry Warsaw | d33d474 | 2002-07-19 22:44:23 +0000 | [diff] [blame] | 6 | from email.test.test_email import suite |
Guido van Rossum | b03fac2 | 2002-10-06 14:37:11 +0000 | [diff] [blame] | 7 | from test.test_support import run_suite |
Barry Warsaw | c9ad32c | 2002-04-15 22:14:06 +0000 | [diff] [blame] | 8 | |
Guido van Rossum | b03fac2 | 2002-10-06 14:37:11 +0000 | [diff] [blame] | 9 | def test_main(): |
10 | run_suite(suite()) | ||||
Barry Warsaw | c9ad32c | 2002-04-15 22:14:06 +0000 | [diff] [blame] | 11 | |
Guido van Rossum | 78f0dd3 | 2001-12-07 21:07:08 +0000 | [diff] [blame] | 12 | if __name__ == '__main__': |
Guido van Rossum | b03fac2 | 2002-10-06 14:37:11 +0000 | [diff] [blame] | 13 | test_main() |