Code

- fix new mailgw test (-c option :-)
authorschlatterbeck <schlatterbeck@57a73879-2fb5-44c3-a270-3262357dd7e2>
Thu, 14 Apr 2011 09:21:23 +0000 (09:21 +0000)
committerschlatterbeck <schlatterbeck@57a73879-2fb5-44c3-a270-3262357dd7e2>
Thu, 14 Apr 2011 09:21:23 +0000 (09:21 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4588 57a73879-2fb5-44c3-a270-3262357dd7e2

test/test_mailgw.py

index 0d698b6f6221d08ad00716d08ed1be658a5e702c..69c5e07b93a204d2929e6579f323d62dc3b5622a 100644 (file)
@@ -268,10 +268,11 @@ From: Chef <chef@bork.bork.bork>
 To: issue_tracker@your.tracker.email.domain.example
 Message-Id: <dummy_test_message_id>
 Reply-To: chef@bork.bork.bork
-Subject: [issue] Testing...
+Subject: [issue] Testing... [status=chatting;priority=critical]
 
 Hi there!
 ''', (('-c', 'issue'),))
+        self.assertEqual(self.db.issue.get(nodeid, 'title'), 'Testing...')
         self.assertEqual(self.db.issue.get(nodeid, 'status'), '3')
         self.assertEqual(self.db.issue.get(nodeid, 'priority'), '1')