88# but WITHOUT ANY WARRANTY; without even the implied warranty of
99# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1010#
11- # $Id: test_mailgw.py,v 1.13 2002-02-15 07:08:45 richard Exp $
11+ # $Id: test_mailgw.py,v 1.14 2002-03-18 18:32:00 rochecompaan Exp $
1212
1313import unittest , cStringIO , tempfile , os , shutil , errno , imp , sys
1414
@@ -45,7 +45,7 @@ def tearDown(self):
4545 except OSError , error :
4646 if error .errno not in (errno .ENOENT , errno .ESRCH ): raise
4747
48- def xtestNewIssue (self ):
48+ def testNewIssue (self ):
4949 message = cStringIO .StringIO ('''Content-Type: text/plain;
5050 charset="iso-8859-1"
5151@@ -81,7 +81,7 @@ def testAlternateAddress(self):
8181 self .assertEqual (userlist , self .db .user .list (),
8282 "user created when it shouldn't have been" )
8383
84- def xtestNewIssueNoClass (self ):
84+ def testNewIssueNoClass (self ):
8585 message = cStringIO .StringIO ('''Content-Type: text/plain;
8686 charset="iso-8859-1"
8787@@ -98,7 +98,7 @@ def xtestNewIssueNoClass(self):
9898 error = open (os .environ ['SENDMAILDEBUG' ]).read ()
9999 self .assertEqual ('no error' , error )
100100
101- def xtestNewIssueAuthMsg (self ):
101+ def testNewIssueAuthMsg (self ):
102102 message = cStringIO .StringIO ('''Content-Type: text/plain;
103103 charset="iso-8859-1"
104104@@ -124,6 +124,7 @@ def xtestNewIssueAuthMsg(self):
124124MIME-Version: 1.0
125125Message-Id: <dummy_test_message_id>
126126X-Roundup-Name: Roundup issue tracker
127+ Content-Transfer-Encoding: quoted-printable
127128
128129
129130New submission from Chef <[email protected] >: @@ -152,7 +153,7 @@ def xtestNewIssueAuthMsg(self):
152153
153154 # BUG should test some binary attamchent too.
154155
155- def xtestFollowup (self ):
156+ def testFollowup (self ):
156157 self .testNewIssue ()
157158 message = cStringIO .StringIO ('''Content-Type: text/plain;
158159 charset="iso-8859-1"
@@ -179,6 +180,7 @@ def xtestFollowup(self):
179180Message-Id: <followup_dummy_id>
180181In-Reply-To: <dummy_test_message_id>
181182X-Roundup-Name: Roundup issue tracker
183+ Content-Transfer-Encoding: quoted-printable
182184
183185
184186richard <richard@test> added the comment:
@@ -196,7 +198,7 @@ def xtestFollowup(self):
196198___________________________________________________
197199''' , 'Generated message not correct' )
198200
199- def xtestFollowup2 (self ):
201+ def testFollowup2 (self ):
200202 self .testNewIssue ()
201203 message = cStringIO .StringIO ('''Content-Type: text/plain;
202204 charset="iso-8859-1"
@@ -222,6 +224,7 @@ def xtestFollowup2(self):
222224Message-Id: <followup_dummy_id>
223225In-Reply-To: <dummy_test_message_id>
224226X-Roundup-Name: Roundup issue tracker
227+ Content-Transfer-Encoding: quoted-printable
225228
226229
227230mary <mary@test> added the comment:
@@ -237,7 +240,7 @@ def xtestFollowup2(self):
237240___________________________________________________
238241''' , 'Generated message not correct' )
239242
240- def xtestFollowupTitleMatch (self ):
243+ def testFollowupTitleMatch (self ):
241244 self .testNewIssue ()
242245 message = cStringIO .StringIO ('''Content-Type: text/plain;
243246 charset="iso-8859-1"
@@ -264,6 +267,7 @@ def xtestFollowupTitleMatch(self):
264267Message-Id: <followup_dummy_id>
265268In-Reply-To: <dummy_test_message_id>
266269X-Roundup-Name: Roundup issue tracker
270+ Content-Transfer-Encoding: quoted-printable
267271
268272
269273richard <richard@test> added the comment:
@@ -281,7 +285,7 @@ def xtestFollowupTitleMatch(self):
281285___________________________________________________
282286''' ) #, 'Generated message not correct')
283287
284- def xtestEnc01 (self ):
288+ def testEnc01 (self ):
285289 self .testNewIssue ()
286290 message = cStringIO .StringIO ('''Content-Type: text/plain;
287291 charset="iso-8859-1"
@@ -312,11 +316,12 @@ def xtestEnc01(self):
312316Message-Id: <followup_dummy_id>
313317In-Reply-To: <dummy_test_message_id>
314318X-Roundup-Name: Roundup issue tracker
319+ Content-Transfer-Encoding: quoted-printable
315320
316321
317322mary <mary@test> added the comment:
318323
319- A message with encoding (encoded oe ö )
324+ A message with encoding (encoded oe =F6 )
320325
321326----------
322327status: unread -> chatting
@@ -327,7 +332,7 @@ def xtestEnc01(self):
327332''' , 'Generated message not correct' )
328333
329334
330- def xtestMultipartEnc01 (self ):
335+ def testMultipartEnc01 (self ):
331336 self .testNewIssue ()
332337 message = cStringIO .StringIO ('''Content-Type: text/plain;
333338 charset="iso-8859-1"
@@ -365,11 +370,12 @@ def xtestMultipartEnc01(self):
365370Message-Id: <followup_dummy_id>
366371In-Reply-To: <dummy_test_message_id>
367372X-Roundup-Name: Roundup issue tracker
373+ Content-Transfer-Encoding: quoted-printable
368374
369375
370376mary <mary@test> added the comment:
371377
372- A message with first part encoded (encoded oe ö )
378+ A message with first part encoded (encoded oe =F6 )
373379
374380----------
375381status: unread -> chatting
@@ -391,6 +397,10 @@ def suite():
391397
392398#
393399# $Log: not supported by cvs2svn $
400+ # Revision 1.13 2002/02/15 07:08:45 richard
401+ # . Alternate email addresses are now available for users. See the MIGRATION
402+ # file for info on how to activate the feature.
403+ #
394404# Revision 1.12 2002/02/15 00:13:38 richard
395405# . #503204 ] mailgw needs a default class
396406# - partially done - the setting of additional properties can wait for a
0 commit comments