summaryrefslogtreecommitdiffstats
path: root/testsuite/Testsrc/Testlib/TestServer/TestEncryption.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix nondeterministic bruteforce_decrypt testChris St. Pierre2014-10-271-3/+21
| | | | | | | | | | | | The existing test_bruteforce_decrypt was nondeterministic; in some cases, the generated ciphertext would be decryptable with one of the wrong passphrases, which would cause test failure even though it decrypts to gibberish. This checks that by splitting it into two tests: 1. Test with an invalid ciphertext, so that EVPError is always raised; 2. Test with valid ciphertext, and check for *either* EVPError or decrypted plaintext that is not the same as the original plaintext.
* testsuite: removed obsolete can_skip variableChris St. Pierre2013-09-031-122/+121
| | | | | | This was needed when we implemented skipping ourselves in a hackish way; with unittest2, skipping is implemented correctly, so tests can always be skipped
* testsuite: Fixed base plugin testsChris St. Pierre2013-08-091-31/+6
|
* moved some libraries in Bcfg2/ into more specific (Server/ or Client/) placesChris St. Pierre2013-02-051-0/+175