Code

- fix new mailgw test (-c option :-)
[roundup.git] / 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')