diff options
author | Adrien Di Mascio <Adrien.DiMascio@logilab.fr> | 2006-09-06 11:59:59 +0200 |
---|---|---|
committer | Adrien Di Mascio <Adrien.DiMascio@logilab.fr> | 2006-09-06 11:59:59 +0200 |
commit | fa5b655ee51978a7a42464be1fe3db16ef4424cd (patch) | |
tree | f5fa5fb2c65138db1356a6ded4fdfd469e18bc2f /test/data | |
parent | d8bd5bbf239ab2e747767ccb3df3ed5aadb8d3f2 (diff) | |
download | logilab-common-fa5b655ee51978a7a42464be1fe3db16ef4424cd.tar.gz |
added unittests for umessage module (backport from maboa)
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/test1.msg | 30 | ||||
-rw-r--r-- | test/data/test2.msg | 42 |
2 files changed, 72 insertions, 0 deletions
diff --git a/test/data/test1.msg b/test/data/test1.msg new file mode 100644 index 0000000..e9c044d --- /dev/null +++ b/test/data/test1.msg @@ -0,0 +1,30 @@ +From Nicolas.Chauvat@logilab.fr Wed Jul 20 12:03:06 2005 +Return-Path: <Nicolas.Chauvat@logilab.fr> +X-Original-To: nico@logilab.fr +Delivered-To: nico@logilab.fr +Received: from logilab.fr (crater.logilab.fr [172.17.1.4]) + by orion.logilab.fr (Postfix) with SMTP id 7D3412BDA6 + for <nico@logilab.fr>; Wed, 20 Jul 2005 12:03:06 +0200 (CEST) +Received: (nullmailer pid 8382 invoked by uid 1000); + Wed, 20 Jul 2005 10:03:20 -0000 +Date: Wed, 20 Jul 2005 12:03:20 +0200 +From: Nicolas Chauvat <nico@logilab.fr> +To: Nicolas Chauvat <nico@logilab.fr> +Subject: autre message +Message-ID: <20050720100320.GA8371@logilab.fr> +Mime-Version: 1.0 +Content-Type: text/plain; charset=iso-8859-1 +Content-Disposition: inline +Content-Transfer-Encoding: 8bit +User-Agent: Mutt/1.5.9i +X-Spambayes-Classification: ham; 0.01 +Content-Length: 106 +Lines: 6 + +bonjour + +-- +Nicolas Chauvat + +logilab.fr - services en informatique avancée et gestion de connaissances + diff --git a/test/data/test2.msg b/test/data/test2.msg new file mode 100644 index 0000000..3a5ca81 --- /dev/null +++ b/test/data/test2.msg @@ -0,0 +1,42 @@ +From alexandre.fayolle@logilab.fr Wed Jul 27 11:21:57 2005 +Date: Wed, 27 Jul 2005 11:21:57 +0200 +From: Alexandre =?iso-8859-1?Q?'d=E9couvreur?= de bugs' Fayolle <alexandre.fayolle@logilab.fr> +To: =?iso-8859-1?B?6WzpbWVudCDg?= accents <alf@logilab.fr> +Subject: =?iso-8859-1?Q?=C0?= LA MER +Message-ID: <20050727092157.GB3923@logilab.fr> +Mime-Version: 1.0 +Content-Type: multipart/signed; micalg=pgp-sha1; + protocol="application/pgp-signature"; boundary="wULyF7TL5taEdwHz" +Content-Disposition: inline +User-Agent: Mutt/1.5.9i +Status: RO +Content-Length: 692 +Lines: 26 + + +--wULyF7TL5taEdwHz +Content-Type: text/plain; charset=iso-8859-1 +Content-Disposition: inline +Content-Transfer-Encoding: quoted-printable + +il s'est pass=E9 de dr=F4les de choses.=20 + +--=20 +Alexandre Fayolle LOGILAB, Paris (France). +http://www.logilab.com http://www.logilab.fr http://www.logilab.org + +--wULyF7TL5taEdwHz +Content-Type: application/pgp-signature; name="signature.asc" +Content-Description: Digital signature +Content-Disposition: inline + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.1 (GNU/Linux) + +iD8DBQFC51I1Ll/b4N9npV4RAsaLAJ4k9C8Hnrjg+Q3ocrUYnYppTVcgyQCeO8yT +B7AM5XzlRD1lYqlxq+h80K8= +=zfVV +-----END PGP SIGNATURE----- + +--wULyF7TL5taEdwHz-- + |