Mercurial > p > roundup > code
comparison test/test_mailgw.py @ 5849:ad0ece9cb01b
Removing @pytest.mark.xfail decoration. Ralf fixed the test.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 22 Jul 2019 20:20:32 -0400 |
| parents | f767a83a6af0 |
| children | ca0915457761 |
comparison
equal
deleted
inserted
replaced
| 5848:f767a83a6af0 | 5849:ad0ece9cb01b |
|---|---|
| 4439 self.assertEqual(self.db.msg.get(msgid, 'files'), ['1']) | 4439 self.assertEqual(self.db.msg.get(msgid, 'files'), ['1']) |
| 4440 fileid = self.db.msg.get(msgid, 'files')[0] | 4440 fileid = self.db.msg.get(msgid, 'files')[0] |
| 4441 self.assertEqual(self.db.file.get(fileid, 'type'), 'message/rfc822') | 4441 self.assertEqual(self.db.file.get(fileid, 'type'), 'message/rfc822') |
| 4442 | 4442 |
| 4443 | 4443 |
| 4444 @pytest.mark.xfail | |
| 4445 def testStandardMsg(self): | 4444 def testStandardMsg(self): |
| 4446 self.instance.config['MAIL_DOMAIN'] = 'example.com' | 4445 self.instance.config['MAIL_DOMAIN'] = 'example.com' |
| 4447 name = u'Accented chars \xe4\xf6\xfc\xc4\xd6\xdc\xdf' | 4446 name = u'Accented chars \xe4\xf6\xfc\xc4\xd6\xdc\xdf' |
| 4448 # Python2 wants an UTF-8 string in first component of adr and content | 4447 # Python2 wants an UTF-8 string in first component of adr and content |
| 4449 # while Python3 wants a String | 4448 # while Python3 wants a String |
