summaryrefslogtreecommitdiffstats
path: root/testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py
Commit message (Collapse)AuthorAgeFilesLines
* Replaced XMLSrc with StructFileChris St. Pierre2013-05-201-289/+61
| | | | | | | | | | | | | | | | XMLSrc and StructFile were very different implementations of basically the same thing. StructFile has gotten lots and lots of improvements, while XMLSrc, with its wonky, unintuitive interface, has floundered. This replaces XMLSrc with StructFile (nearly) everywhere, and rebases everything that inherited from XMLSrc with StructFile. XMLSrc lives on somewhat in the Pkgmgr plugin's PNode and PkgSrc objects, where originally inherited from the XMLSrc and INode objects but are now the only implementation of that older interface. Pkgmgr was left as-is because a) it's a little-used plugin; b) it's in need of a rewrite anyway; and c) it has deep, deep hooks into the guts of XMLSrc and INode, and rewriting it with StructFile was deeply nontrivial.
* Merge branch 'maint'Chris St. Pierre2013-04-241-16/+45
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Client/Client.py src/lib/Bcfg2/Client/Frame.py src/lib/Bcfg2/Client/Tools/YUM.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Admin/Perf.py src/lib/Bcfg2/Server/Admin/Xcmd.py src/lib/Bcfg2/Server/Admin/__init__.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/FileMonitor/Fam.py src/lib/Bcfg2/Server/Lint/RequiredAttrs.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Base.py src/lib/Bcfg2/Server/Plugins/Bundler.py src/lib/Bcfg2/Server/Plugins/Cfg/CfgPrivateKeyCreator.py src/lib/Bcfg2/Server/Plugins/Cvs.py src/lib/Bcfg2/Server/Plugins/Darcs.py src/lib/Bcfg2/Server/Plugins/Decisions.py src/lib/Bcfg2/Server/Plugins/FileProbes.py src/lib/Bcfg2/Server/Plugins/Fossil.py src/lib/Bcfg2/Server/Plugins/Git.py src/lib/Bcfg2/Server/Plugins/Metadata.py src/lib/Bcfg2/Server/Plugins/NagiosGen.py src/lib/Bcfg2/Server/Plugins/Packages/PackagesSources.py src/lib/Bcfg2/Server/Plugins/Packages/Source.py src/lib/Bcfg2/Server/Plugins/Packages/Yum.py src/lib/Bcfg2/Server/Plugins/Properties.py src/lib/Bcfg2/Server/Plugins/__init__.py src/lib/Bcfg2/Server/__init__.py src/sbin/bcfg2-build-reports src/sbin/bcfg2-crypt testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestMetadata.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProperties.py
| * testsuite: fixed unit testsChris St. Pierre2013-03-281-16/+10
| |
| * testsuite: fixed more unit test stuffChris St. Pierre2013-03-261-1/+0
| |
| * fixed regex errors introduced by 6c996f42c53a36fc0406f836d64b8c1bec6f4bccChris St. Pierre2013-03-261-1/+2
| |
| * Handle FAM monitor failures more gracefully:Chris St. Pierre2013-03-251-6/+32
| | | | | | | | | | | | | | | | | | * Where possible, create the file or directory that is about to be monitored. This ensures that content can be added later without need to restart Bcfg2. (Otherwise, adding the monitor would fail, and so when you did create the file in question, bcfg2-server would never be notified of it.) * When not possible, give better error messages.
| * added support for wildcard XInclude in XMLFileBackedChris St. Pierre2013-02-141-16/+37
| |
| * fixed StructFile Match() unit testChris St. Pierre2013-02-041-2/+2
| |
* | added support for wildcard XInclude in XMLFileBackedChris St. Pierre2013-02-141-16/+37
| |
* | Added client ACLs:Chris St. Pierre2013-02-121-53/+108
| | | | | | | | | | | | | | * IP and CIDR-based ACLs * Metadata (group/hostname)-based ACLs * Documentation * Unit tests
* | made XInlcude and Encryption support more consistentChris St. Pierre2013-02-071-4/+0
| |
* | converted InfoXML objects from XMLSrc to StructFileChris St. Pierre2013-02-061-171/+141
| |
* | moved some libraries in Bcfg2/ into more specific (Server/ or Client/) placesChris St. Pierre2013-02-051-4/+4
| |
* | added genshi support to StructFileChris St. Pierre2013-02-041-38/+80
| |
* | made genshi a requirementChris St. Pierre2013-01-221-0/+10
| |
* | fixed unit testsChris St. Pierre2013-01-171-6/+1
| |
* | fixed unit testsChris St. Pierre2013-01-171-31/+23
| |
* | removed support for info/:info filesChris St. Pierre2013-01-171-41/+14
| |
* | abstracted encryption support from Properties/CfgPrivateKeyCreator to StructFileChris St. Pierre2013-01-171-1/+108
| |
* | added module-level OptionParser to avoid passing it as an argument or global ↵Chris St. Pierre2013-01-171-5/+7
|/ | | | all over
* Cfg: Added feature to provide generation of SSH keys, authorized_keys fileChris St. Pierre2013-01-031-26/+25
|
* added unit tests for GroupPatternsChris St. Pierre2012-12-181-17/+30
|
* fixed tests for set_debugChris St. Pierre2012-11-161-6/+6
|
* cleaned up Templatehelper to help avoid some event handling errorsChris St. Pierre2012-11-161-36/+37
|
* testsuite: Fix more 'mode' testsSol Jerome2012-10-151-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* removed print statements from testsuiteChris St. Pierre2012-10-151-3/+1
|
* wrote sphinx docs for base server CoreChris St. Pierre2012-10-151-4/+14
|
* wrote more detailed unit testing documentationChris St. Pierre2012-10-051-3/+4
|
* testsuite: added unit tests for Cfg handlersChris St. Pierre2012-10-021-5/+5
|
* testsuite: unit tests for Cfg plugin and base handlersChris St. Pierre2012-10-021-8/+6
|
* wrote unit tests for PropertiesChris St. Pierre2012-09-271-3/+3
|
* fixed tests for pylint changesChris St. Pierre2012-09-251-3/+3
|
* run pylint for errors on almost everything, full runs on some selected stuffChris St. Pierre2012-09-251-2/+2
|
* testsuite: fixed patch scoping issues in py3kChris St. Pierre2012-09-071-120/+156
|
* split up mammoth Plugin.pyChris St. Pierre2012-09-061-0/+1938