summaryrefslogtreecommitdiff
path: root/src/leap/mx/tests
AgeCommit message (Collapse)Author
2017-09-02[feature] add support for soledad incoming apiVictor Shyba
-- Related: #8664
2017-06-27[pkg] vendor pgpy 0.4.1Kali Kaneko
2017-06-27[feat] use PGPy instead of leap.keymanager to encryptRuben Pollan
In PGPy 0.4.0 keys are not accepted if they have empty lines before the ascii armored text. I addapt the tests around that for now. This is fixed already in PGPy repo, so it will not be an issue in comming releases. - Resolves: #8558, #8663
2017-05-26[bug] check if key is expiredRuben Pollan
For expired keys gnupg will not allow us to encrypt (to force it we'll need to fake the system date). Let's bounce the email properly in this case, and register the error. Make sure as well that _encrypt_message does not return None, let's raise exceptions in case of failure. - Related: #8663
2017-03-17Fix logging of couchdb errors.drebs
Leap MX was previously wrapping soledad's couchdb-related exceptions messages in its own exception. The problem was that message attribute of those exceptions were actually empty, and so the information of the actual error was lost. This commit removes the wrapper exception and forwards whatever exception was received from soledad to the logging system. Signed-off-by: Ruben Pollan <meskio@sindominio.net>
2015-12-09[feat] use the original message for encryptionRuben Pollan
Do not reconstruct the message from the parsed one. Added test for missleading encoding. - Resolves: #7253
2015-11-26[style] fix pep8 errorsRuben Pollan
2015-11-23[feat] add '@deliver.local' to uuidRuben Pollan
- Resolves: #5959
2015-09-15[test] add test infrastructureRuben Pollan
Some refactor on the couchdb usage was needed to be able to mock couchdb. - Resolves: #7435
2015-09-11[feat] Don't add any X-Leap-Provenance headerRuben Pollan
- Resolves: #7439
2013-04-25More cleanupTomas Touceda
2013-02-17Add an __init__.py to the leap/mx/tests module with a boilerplated tests.run()Isis Lovecruft
function so that the options parser doesn't choke on it.