summaryrefslogtreecommitdiffstats
path: root/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestMetadata.py
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Fix tests after 9a6a231Michael Fenn2013-10-041-1/+6
| | | | | | | | The addition of the call to load_xml in 9a6a231 causes the test to fail because load_xml() expects to read a clients.xml file. The actual actual open calls in write_xml are dummied out with Mock, so no file is written, and thus cannot be read back. This commit dummies out the load_xml and adds some more asserts for good measure.
* Metadata: search groups breadth-first when building metadataChris St. Pierre2013-08-151-10/+7
| | | | | This makes category negation consistent, and also makes it work like it did in Bcfg2 1.2
* Get profile by building metadata instead of guessingMichael Fenn2013-08-061-0/+3
| | | | | | Rather than doing some ad-hoc lookups of internal data structures stpierre suggested that it'd be better to use the normal metadata build procedures. This implements that and adjusts the tests.
* Adjust testMichael Fenn2013-08-051-1/+1
| | | | Don't need to check write() because update_client() calls it
* TestMetadata: Update tests for resolve_clientSol Jerome2013-06-271-25/+25
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Handle FAM monitor failures more gracefully:Chris St. Pierre2013-03-251-3/+17
| | | | | | | | | * 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.
* Metadata: process default client bootstrap mode properlyChris St. Pierre2013-02-141-8/+11
|
* moved common file locking code into Bcfg2.UtilsChris St. Pierre2013-02-141-1/+1
|
* added support for wildcard XInclude in XMLFileBackedChris St. Pierre2013-02-141-0/+1
|
* generate XML schema docs from XML schemas themselvesChris St. Pierre2012-12-101-3/+0
|
* Fixed inversion of category-group pairs from Connector plugins inChris St. Pierre2012-11-011-5/+12
| | | | ClientMetadata.categories
* fix ClientVersions tests when Django not installedChris St. Pierre2012-10-291-1/+1
|
* fixed unit testsChris St. Pierre2012-10-291-8/+9
|
* remove print statementChris St. Pierre2012-10-261-1/+0
|
* fixed Metadata unit testsChris St. Pierre2012-10-261-9/+55
|
* fixed metadata tests for get_client_names_by_profilesChris St. Pierre2012-10-171-0/+3
|
* wrote sphinx docs for base server CoreChris St. Pierre2012-10-151-4/+5
|
* wrote more detailed unit testing documentationChris St. Pierre2012-10-051-3/+3
|
* expanded pylint coverageChris St. Pierre2012-09-251-7/+7
|
* fixed tests for pylint changesChris St. Pierre2012-09-251-3/+2
|
* added server-side client metadata object cachingChris St. Pierre2012-09-051-1/+2
|
* reorganized testsuite to allow tests on stuff outside of srcChris St. Pierre2012-09-041-0/+1470