comparison test/test_mailgw.py @ 4479:0bdcb1e7f7ce

- fix new mailgw test (-c option :-)
author Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
date Thu, 14 Apr 2011 09:21:23 +0000
parents e7dcec8c40e9
children 8df9492c2746
comparison
equal deleted inserted replaced
4478:e7dcec8c40e9 4479:0bdcb1e7f7ce
266 charset="iso-8859-1" 266 charset="iso-8859-1"
267 From: Chef <chef@bork.bork.bork> 267 From: Chef <chef@bork.bork.bork>
268 To: issue_tracker@your.tracker.email.domain.example 268 To: issue_tracker@your.tracker.email.domain.example
269 Message-Id: <dummy_test_message_id> 269 Message-Id: <dummy_test_message_id>
270 Reply-To: chef@bork.bork.bork 270 Reply-To: chef@bork.bork.bork
271 Subject: [issue] Testing... 271 Subject: [issue] Testing... [status=chatting;priority=critical]
272 272
273 Hi there! 273 Hi there!
274 ''', (('-c', 'issue'),)) 274 ''', (('-c', 'issue'),))
275 self.assertEqual(self.db.issue.get(nodeid, 'title'), 'Testing...')
275 self.assertEqual(self.db.issue.get(nodeid, 'status'), '3') 276 self.assertEqual(self.db.issue.get(nodeid, 'status'), '3')
276 self.assertEqual(self.db.issue.get(nodeid, 'priority'), '1') 277 self.assertEqual(self.db.issue.get(nodeid, 'priority'), '1')
277 278
278 def doNewIssue(self): 279 def doNewIssue(self):
279 nodeid = self._handle_mail('''Content-Type: text/plain; 280 nodeid = self._handle_mail('''Content-Type: text/plain;

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