summaryrefslogtreecommitdiffstats
path: root/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProperties.py
Commit message (Collapse)AuthorAgeFilesLines
* Properties: Expire the metadata cache during reload of the filesAlexander Sulfrian2015-07-271-3/+12
|
* Remove blanket excepts from plugins and lintChris St. Pierre2015-02-181-1/+1
| | | | | | | | | | This removes most blanket except: clauses from all plugins, including the base plugin libraries, and bcfg2-lint. The few that remain should all be necessary. Most of the changes were quite minor, but this did require some restructuring of the CfgPrivateKeyCreator; as a result, the tests for that module were rewritten.
* testsuite: removed obsolete can_skip variableChris St. Pierre2013-09-031-80/+78
| | | | | | 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 unit tests for server pluginsChris St. Pierre2013-08-091-33/+16
|
* Merge branch 'maint'Chris St. Pierre2013-04-241-15/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Handle FAM monitor failures more gracefully:Chris St. Pierre2013-03-251-16/+12
| | | | | | | | | | | | | | | | | | * 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.
| * removed bogus print statementsChris St. Pierre2013-01-231-3/+0
| |
| * testsuite: fixed test for encrypted Properties w/o crypto libraries installedChris St. Pierre2013-01-181-8/+0
| |
* | abstracted encryption support from Properties/CfgPrivateKeyCreator to StructFileChris St. Pierre2013-01-171-116/+0
| |
* | added module-level OptionParser to avoid passing it as an argument or global ↵Chris St. Pierre2013-01-171-52/+33
|/ | | | all over
* Made a few encryption things simpler:Chris St. Pierre2013-01-171-4/+10
| | | | | | * Only one strict/lax setting, in [encryption], rather than separate settings in [properties] and [sshkeys] * No longer necessary to enable encryption on each Properties file
* testsuite: fixed tests for decryption in Properties/CfgPrivateKeyCreatorChris St. Pierre2013-01-161-71/+84
|
* Properties: allow lax decryption, where failure to decrypt an element is not ↵Chris St. Pierre2012-11-061-2/+9
| | | | fatal and parsing of that file continues
* added support for JSON and YAML properties filesChris St. Pierre2012-10-151-54/+203
|
* wrote more detailed unit testing documentationChris St. Pierre2012-10-051-3/+1
|
* wrote unit tests for PropertiesChris St. Pierre2012-09-271-0/+294