Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tests: Fix tests after 9a6a231 | Michael Fenn | 2013-10-04 | 1 | -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 metadata | Chris St. Pierre | 2013-08-15 | 1 | -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 guessing | Michael Fenn | 2013-08-06 | 1 | -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 test | Michael Fenn | 2013-08-05 | 1 | -1/+1 |
| | | | | Don't need to check write() because update_client() calls it | ||||
* | TestMetadata: Update tests for resolve_client | Sol Jerome | 2013-06-27 | 1 | -25/+25 |
| | | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | Handle FAM monitor failures more gracefully: | Chris St. Pierre | 2013-03-25 | 1 | -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 properly | Chris St. Pierre | 2013-02-14 | 1 | -8/+11 |
| | |||||
* | moved common file locking code into Bcfg2.Utils | Chris St. Pierre | 2013-02-14 | 1 | -1/+1 |
| | |||||
* | added support for wildcard XInclude in XMLFileBacked | Chris St. Pierre | 2013-02-14 | 1 | -0/+1 |
| | |||||
* | generate XML schema docs from XML schemas themselves | Chris St. Pierre | 2012-12-10 | 1 | -3/+0 |
| | |||||
* | Fixed inversion of category-group pairs from Connector plugins in | Chris St. Pierre | 2012-11-01 | 1 | -5/+12 |
| | | | | ClientMetadata.categories | ||||
* | fix ClientVersions tests when Django not installed | Chris St. Pierre | 2012-10-29 | 1 | -1/+1 |
| | |||||
* | fixed unit tests | Chris St. Pierre | 2012-10-29 | 1 | -8/+9 |
| | |||||
* | remove print statement | Chris St. Pierre | 2012-10-26 | 1 | -1/+0 |
| | |||||
* | fixed Metadata unit tests | Chris St. Pierre | 2012-10-26 | 1 | -9/+55 |
| | |||||
* | fixed metadata tests for get_client_names_by_profiles | Chris St. Pierre | 2012-10-17 | 1 | -0/+3 |
| | |||||
* | wrote sphinx docs for base server Core | Chris St. Pierre | 2012-10-15 | 1 | -4/+5 |
| | |||||
* | wrote more detailed unit testing documentation | Chris St. Pierre | 2012-10-05 | 1 | -3/+3 |
| | |||||
* | expanded pylint coverage | Chris St. Pierre | 2012-09-25 | 1 | -7/+7 |
| | |||||
* | fixed tests for pylint changes | Chris St. Pierre | 2012-09-25 | 1 | -3/+2 |
| | |||||
* | added server-side client metadata object caching | Chris St. Pierre | 2012-09-05 | 1 | -1/+2 |
| | |||||
* | reorganized testsuite to allow tests on stuff outside of src | Chris St. Pierre | 2012-09-04 | 1 | -0/+1470 |