comparison test/test_mailgw.py @ 571:2998d683e2cf

Fixed status change in mail gateway.
author Roche Compaan <rochecompaan@users.sourceforge.net>
date Tue, 22 Jan 2002 11:54:45 +0000
parents d7b9751f8927
children 4c3dcda799f7
comparison
equal deleted inserted replaced
570:e346a9792335 571:2998d683e2cf
6 # 6 #
7 # This module is distributed in the hope that it will be useful, 7 # This module is distributed in the hope that it will be useful,
8 # but WITHOUT ANY WARRANTY; without even the implied warranty of 8 # but WITHOUT ANY WARRANTY; without even the implied warranty of
9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 # 10 #
11 # $Id: test_mailgw.py,v 1.6 2002-01-21 10:05:48 rochecompaan Exp $ 11 # $Id: test_mailgw.py,v 1.7 2002-01-22 11:54:45 rochecompaan Exp $
12 12
13 import unittest, cStringIO, tempfile, os, shutil, errno, imp, sys 13 import unittest, cStringIO, tempfile, os, shutil, errno, imp, sys
14 14
15 from roundup.mailgw import MailGW 15 from roundup.mailgw import MailGW
16 from roundup import init, instance 16 from roundup import init, instance
139 139
140 140
141 ---------- 141 ----------
142 assignedto: -> mary 142 assignedto: -> mary
143 nosy: +mary, john 143 nosy: +mary, john
144 status: unread -> chatting
144 ___________________________________________________ 145 ___________________________________________________
145 "Roundup issue tracker" <issue_tracker@fill.me.in.> 146 "Roundup issue tracker" <issue_tracker@fill.me.in.>
146 http://some.useful.url/issue1 147 http://some.useful.url/issue1
147 ___________________________________________________ 148 ___________________________________________________
148 ''', 'Generated message not correct') 149 ''', 'Generated message not correct')
176 177
177 mary <mary@test> added the comment: 178 mary <mary@test> added the comment:
178 179
179 This is a second followup 180 This is a second followup
180 181
182
183 ----------
184 status: unread -> chatting
181 ___________________________________________________ 185 ___________________________________________________
182 "Roundup issue tracker" <issue_tracker@fill.me.in.> 186 "Roundup issue tracker" <issue_tracker@fill.me.in.>
183 http://some.useful.url/issue1 187 http://some.useful.url/issue1
184 ___________________________________________________ 188 ___________________________________________________
185 ''', 'Generated message not correct') 189 ''', 'Generated message not correct')
194 return unittest.TestSuite(l) 198 return unittest.TestSuite(l)
195 199
196 200
197 # 201 #
198 # $Log: not supported by cvs2svn $ 202 # $Log: not supported by cvs2svn $
203 # Revision 1.6 2002/01/21 10:05:48 rochecompaan
204 # Feature:
205 # . the mail gateway now responds with an error message when invalid
206 # values for arguments are specified for link or multilink properties
207 # . modified unit test to check nosy and assignedto when specified as
208 # arguments
209 #
210 # Fixed:
211 # . fixed setting nosy as argument in subject line
212 #
199 # Revision 1.5 2002/01/15 00:12:40 richard 213 # Revision 1.5 2002/01/15 00:12:40 richard
200 # #503340 ] creating issue with [asignedto=p.ohly] 214 # #503340 ] creating issue with [asignedto=p.ohly]
201 # 215 #
202 # Revision 1.4 2002/01/14 07:12:15 richard 216 # Revision 1.4 2002/01/14 07:12:15 richard
203 # removed file writing from tests... 217 # removed file writing from tests...

Roundup Issue Tracker: http://roundup-tracker.org/