diff options
author | Barry Warsaw <barry@python.org> | 2007-08-31 11:19:21 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2007-08-31 11:19:21 (GMT) |
commit | c5a6a3078b3939beb3d8f592d2e306b6039940ad (patch) | |
tree | 90d2d37d1eb9d77379467f0920343f0bd877a417 | |
parent | 5deb2101df41dc46b8eb8b705ce4cf8454db16c7 (diff) | |
download | cpython-c5a6a3078b3939beb3d8f592d2e306b6039940ad.zip cpython-c5a6a3078b3939beb3d8f592d2e306b6039940ad.tar.gz cpython-c5a6a3078b3939beb3d8f592d2e306b6039940ad.tar.bz2 |
Restore test_email for a1. It passes completely.
-rw-r--r-- | Lib/email/test/test_email.py | 4 | ||||
-rw-r--r-- | Lib/test/test_email.py | 13 |
2 files changed, 15 insertions, 2 deletions
diff --git a/Lib/email/test/test_email.py b/Lib/email/test/test_email.py index c2103a6..74a3c9d 100644 --- a/Lib/email/test/test_email.py +++ b/Lib/email/test/test_email.py @@ -851,10 +851,10 @@ iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUAAAAkHiJeRUIcGBi9 # XXX This splitting is all wrong. It the first value line should be # snug against the field name. eq(msg.as_string(maxheaderlen=78), """\ -Face-1: +Face-1:\x20 \tiVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUAAAAkHiJeRUIcGBi9 locQDQ4zJykFBAXJfWDjAAACYUlEQVR4nF2TQY/jIAyFc6lydlG5x8Nyp1Y69wj1PN2I5gzp -Face-2: +Face-2:\x20 iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUAAAAkHiJeRUIcGBi9 locQDQ4zJykFBAXJfWDjAAACYUlEQVR4nF2TQY/jIAyFc6lydlG5x8Nyp1Y69wj1PN2I5gzp diff --git a/Lib/test/test_email.py b/Lib/test/test_email.py new file mode 100644 index 0000000..736c393 --- /dev/null +++ b/Lib/test/test_email.py @@ -0,0 +1,13 @@ +# Copyright (C) 2001-2007 Python Software Foundation +# email package unit tests + +import unittest +# The specific tests now live in Lib/email/test +from email.test.test_email import suite +from test import test_support + +def test_main(): + test_support.run_unittest(suite()) + +if __name__ == '__main__': + test_main() |