summaryrefslogtreecommitdiffstats
path: root/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestCfg
Commit message (Collapse)AuthorAgeFilesLines
* testsuite: more unit test fixesChris St. Pierre2014-04-251-2/+4
|
* Cfg: let EncryptedGenerator load setup object whenever the plugin is importedChris St. Pierre2013-12-091-3/+5
| | | | | | | Previously, if CfgEncryptedGenerator was imported before the Cfg object was instantiated, it would finalize the Bcfg2.Server.Plugins.Cfg.SETUP object with a value of None, and would be unable to access the options dict.
* testsuite: Fixed CfgPublicKeyCreator testsChris St. Pierre2013-09-161-6/+5
| | | | | | Instead of mocking get_filename, use its normal functionality. This avoids a messy situation where we have to mock out a **magic call, which py2.5 doesn't like at all.
* CfgPublicKeyCreator: properly handle case where only private key has been ↵Chris St. Pierre2013-09-162-32/+93
| | | | | | | | | created Previously, only two cases were handled properly: both public and private keys had been created; or neither had been created. If the private key had been created (e.g., manually added to the repo), the public key would not be created from it. This fixes that.
* Cfg: Give non-specific handlers a default specificityChris St. Pierre2013-09-091-5/+7
|
* Cfg: Fixed and documented .cat and .diff file behavior with host-specific ↵Chris St. Pierre2013-06-141-7/+9
| | | | base file
* fixed unit testsChris St. Pierre2013-06-031-19/+18
|
* testsuite: more text fixesChris St. Pierre2013-03-261-0/+1
|
* fixed unit testsChris St. Pierre2013-02-131-1/+1
|
* testsuite: fixed tests for decryption in Properties/CfgPrivateKeyCreatorChris St. Pierre2013-01-161-100/+104
|
* Cfg: handle filenames with regex special characters properlyChris St. Pierre2013-01-071-0/+1
|
* fixed unit testsChris St. Pierre2013-01-033-25/+27
|
* Cfg: Added feature to provide generation of SSH keys, authorized_keys fileChris St. Pierre2013-01-034-21/+727
|
* Cfg: added creator handler to perform one-time creation of static dataChris St. Pierre2012-12-201-1/+99
|
* fixed test that was "broken" when assertXMLEqual was fixedChris St. Pierre2012-12-031-4/+4
|
* testsuite: fixed assertXMLEqual comparison of XML attribute valuesChris St. Pierre2012-12-031-2/+2
|
* Templating updates:Chris St. Pierre2012-11-192-13/+28
| | | | | | * Added "repo" variable to all template formats * Made variables available in Genshi and Cheetah template more similar * Improved docs
* Cfg: prevent genshi loader from caching templatesChris St. Pierre2012-11-131-23/+14
|
* assigned Cfg handlers explicit priorities to avoid over-zealous regex matchesChris St. Pierre2012-10-171-5/+0
|
* testsuite: Fix more 'mode' testsSol Jerome2012-10-151-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* wrote more detailed unit testing documentationChris St. Pierre2012-10-058-22/+8
|
* testsuite: tried to fix a broken testChris St. Pierre2012-10-031-5/+2
|
* Cfg: fixed regexes for handling and ignoring files with different Cfg handlersChris St. Pierre2012-10-031-55/+15
|
* testsuite: fixed some assorted testsChris St. Pierre2012-10-032-3/+5
|
* testsuite: added unit tests for Cfg handlersChris St. Pierre2012-10-0210-34/+559
|
* testsuite: unit tests for Cfg plugin and base handlersChris St. Pierre2012-10-021-0/+720