summaryrefslogtreecommitdiffstats
path: root/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* testsuite: remove duplicate django installationChris St. Pierre2013-10-281-1/+1
|
* testsuite: install django 1.4.8 when testing py 2.5Chris St. Pierre2013-10-281-1/+3
|
* 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.
* testsuite: install boto with optional dependenciesChris St. Pierre2013-09-261-1/+1
|
* New plugin: AWSTagsChris St. Pierre2013-09-261-0/+140
| | | | | AWSTags allows querying tags from EC2, and setting groups based on the tag names or values.
* 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.
* testsuite: add "encoding" to setup for POSIXUsers testsChris St. Pierre2013-09-091-1/+8
|
* Cfg: Give non-specific handlers a default specificityChris St. Pierre2013-09-091-5/+7
|
* XMLFileBacked: Monitor XIncludes whenever a FAM is availableChris St. Pierre2013-09-041-11/+3
| | | | | | | | | | This monitors XIncluded files even if should_monitor=False, since the object monitoring the base file will not monitor XIncludes. This ensures that XIncluded files are properly monitored whenever possible, particularly for Bundler and Properties. This is a partial backport of 5b66845 -- as much of a backport as is possible without a module-level FAM object.
* POSIX: fixed unit tests for 1f0fa73Chris St. Pierre2013-08-281-5/+6
|
* 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
* testsuite: perform pylint tests against MultiprocessingCore when appropriateChris St. Pierre2013-08-081-1/+1
|
* testsuite: install pylint < 1.0, which still has some bugsChris St. Pierre2013-08-071-1/+1
|
* Plugin: fixed tests on Debuggable.set_debugChris St. Pierre2013-08-071-5/+0
|
* 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
* Probes: fixed unit testChris St. Pierre2013-08-051-1/+1
|
* testsuite: Fix output for python3Sol Jerome2013-07-312-4/+4
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* testsuite: skip pylint checks on MultiprocessingCore on py2.5Chris St. Pierre2013-07-301-1/+3
|
* Adjust unit testMichael Fenn2013-07-251-1/+1
|
* POSIXUsers: updated tests for removal of -mChris St. Pierre2013-07-161-3/+3
|
* TestMetadata: Update tests for resolve_clientSol Jerome2013-06-271-25/+25
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* pylint: added MultipleObjectsReturned to auto-generated members for DjangoChris St. Pierre2013-06-141-1/+1
|
* Cfg: Fixed and documented .cat and .diff file behavior with host-specific ↵Chris St. Pierre2013-06-141-7/+9
| | | | base file
* testsuite: *really* fixed tests for a03fde3ea32d3eb2cadb443454749111dda1797fChris St. Pierre2013-06-131-1/+1
|
* testsuite: fixed tests for a03fde3ea32d3eb2cadb443454749111dda1797fChris St. Pierre2013-06-131-18/+19
|
* testsuite: Fix tests for python 3Sol Jerome2013-06-081-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* fixed unit testsChris St. Pierre2013-06-031-19/+18
|
* testsuite: install older South for python 2.4 compatChris St. Pierre2013-05-231-1/+1
|
* POSIX: fix directory pruningChris St. Pierre2013-05-211-3/+3
|
* POSIXUsers: allow better <MemberOf group="foo"/> syntaxChris St. Pierre2013-05-071-6/+3
|
* File: handle Path type="file" entries with no text content even if empty is ↵Chris St. Pierre2013-04-051-0/+8
| | | | not set
* testsuite: fixed Probes test that uses version informationChris St. Pierre2013-04-021-2/+3
|
* Statistics: wrote unit testsChris St. Pierre2013-03-291-0/+44
|
* testsuite: fixed unit testsChris St. Pierre2013-03-281-16/+10
|
* testsuite: install python-daemon last so pylint/pep8 tests are run on py3kChris St. Pierre2013-03-271-1/+1
|
* testsuite: more text fixesChris St. Pierre2013-03-262-1/+2
|
* testsuite: fixed more unit test stuffChris St. Pierre2013-03-262-2/+2
|
* Probes: fixed unit tests for new use of lxml.etree._ElementTree.write ↵Chris St. Pierre2013-03-261-60/+118
| | | | instead of open().write()
* fixed regex errors introduced by 6c996f42c53a36fc0406f836d64b8c1bec6f4bccChris St. Pierre2013-03-261-1/+2
|
* testsuite: can't disable pylint R0924, since it doesn't exist on older ↵Chris St. Pierre2013-03-261-4/+1
| | | | pylint and pylint barfs
* testsuite: fixed issues found by latest version of pylintChris St. Pierre2013-03-261-1/+4
|
* travis-ci: install django < 1.5 for testsChris St. Pierre2013-03-261-1/+1
|
* travis-ci: fixed dangling if in install.shChris St. Pierre2013-03-261-0/+1
|
* travis-ci: start running py3k tests with some optional depsChris St. Pierre2013-03-253-6/+13
|
* Handle FAM monitor failures more gracefully:Chris St. Pierre2013-03-257-44/+99
| | | | | | | | | * 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.
* testsuite: fix checks for pylint/pep8 on py3kChris St. Pierre2013-03-211-4/+2
|
* fixed unit testsChris St. Pierre2013-03-211-10/+10
|
* Merge branch '1.3.2' into maintChris St. Pierre2013-03-216-254/+272
|\ | | | | | | | | | | | | | | | | Conflicts: src/lib/Bcfg2/Client/Tools/__init__.py src/sbin/bcfg2-test testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Test__init.py testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIXUsers.py testsuite/Testsrc/test_code_checks.py