Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | testsuite: Ignore failing syncdb | Alexander Sulfrian | 2016-08-17 | 1 | -2/+6 |
| | | | | | | Since we have migrations for Bcfg2.Server syncdb fails for every call but the first one with a ImproperlyConfigured exception because it cannot find Bcfg2.Reporting. We simply ignore this and all test are working. | ||||
* | testsuite: Drop 'syncdb' for newer versions of django | Alexander Sulfrian | 2016-08-17 | 1 | -4/+6 |
| | | | | | | With django>=1.7 'syncdb' is not needed anymore, all stuff is handled with 'migrate' now. The django.setup call is not needed there, because the models have to call it before definition. | ||||
* | testsuite: Newer version of mock require different imports | Alexander Sulfrian | 2016-01-22 | 1 | -1/+4 |
| | | | | | | Be flexible and support the imports required by newer versions of the mock package (>1.1.0). Because this new version is not available on all distributions we are flexible and also support the old style. | ||||
* | update testsuite for django 1.7 | Jonas Jochmaring | 2015-09-23 | 1 | -0/+4 |
| | |||||
* | Merge branch 'rules-replace_name' of https://github.com/AlexanderS/bcfg2 | Sol Jerome | 2015-09-01 | 1 | -9/+10 |
|\ | |||||
| * | testsuite: Fix debug messages to handle xml with a '%' inside | Alexander Sulfrian | 2015-08-26 | 1 | -9/+10 |
| | | |||||
* | | testsuite/common: Add the new option. | Alexander Sulfrian | 2015-07-23 | 1 | -0/+1 |
|/ | |||||
* | Remove blanket excepts from plugins and lint | Chris St. Pierre | 2015-02-18 | 1 | -0/+27 |
| | | | | | | | | | | 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. | ||||
* | DBSettings: Fix time_zone option. | Alexander Sulfrian | 2015-01-28 | 1 | -1/+1 |
| | | | | | In the documentation, in the 1.3.x version and in django this option is called time_zone (and not timezone). There is no reason to change this. | ||||
* | testsuite/common.py: Default to using unittest2 | Sol Jerome | 2014-12-19 | 1 | -2/+2 |
| | | | | | | Only fallback to unittest if unittest2 is unavailable. Signed-off-by: Sol Jerome <sol.jerome@gmail.com> | ||||
* | testsuite: better debug capturing for options tests | Chris St. Pierre | 2014-11-10 | 1 | -0/+6 |
| | |||||
* | testsuite: capture stderr by default | Chris St. Pierre | 2014-11-10 | 1 | -0/+13 |
| | | | | This quiets down a lot of tests, especially for option parsing. | ||||
* | Merge branch 'maint' | Chris St. Pierre | 2013-12-09 | 1 | -2/+6 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/appendix/guides/fedora.txt misc/bcfg2.spec schemas/types.xsd src/lib/Bcfg2/Encryption.py src/lib/Bcfg2/Options.py src/lib/Bcfg2/Server/Admin/Client.py src/lib/Bcfg2/Server/Core.py src/lib/Bcfg2/Server/Lint/Validate.py src/lib/Bcfg2/Server/Plugin/helpers.py src/lib/Bcfg2/Server/Plugins/Bundler.py src/lib/Bcfg2/Server/Plugins/Cfg/CfgEncryptedGenerator.py src/lib/Bcfg2/Server/Plugins/Probes.py src/sbin/bcfg2-crypt testsuite/Testsrc/Testlib/TestServer/TestPlugin/Testhelpers.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestCfg/TestCfgEncryptedGenerator.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py testsuite/common.py testsuite/install.sh | ||||
| * | testsuite: fixed local implementation of assertItemsEqual | Chris St. Pierre | 2013-12-05 | 1 | -2/+5 |
| | | |||||
| * | Tools: new Augeas driver | Chris St. Pierre | 2013-12-05 | 1 | -17/+36 |
| | | |||||
* | | Options: made unit test flag public | Chris St. Pierre | 2013-11-12 | 1 | -1/+1 |
| | | |||||
* | | Options: added workaround for unit tests that use the parser | Chris St. Pierre | 2013-11-12 | 1 | -0/+3 |
| | | |||||
* | | DB: fixed how Django settings are loaded | Chris St. Pierre | 2013-10-30 | 1 | -7/+5 |
| | | |||||
* | | Plugins: refactored out unnecessary datastore constructor argument | Chris St. Pierre | 2013-10-29 | 1 | -5/+6 |
| | | |||||
* | | testsuite: removed obsolete can_skip variable | Chris St. Pierre | 2013-09-03 | 1 | -3/+0 |
| | | | | | | | | | | | | 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: use unittest2 on py<2.7 instead of writing everything ourselves | Chris St. Pierre | 2013-09-03 | 1 | -169/+9 |
| | | |||||
* | | testsuite: rewrote Rules/Defaults tests to be actually useful | Chris St. Pierre | 2013-08-29 | 1 | -17/+25 |
| | | |||||
* | | testsuite: fixed unit tests for server plugins | Chris St. Pierre | 2013-08-09 | 1 | -10/+23 |
| | | |||||
* | | testsuite: fixed base database test class | Chris St. Pierre | 2013-08-09 | 1 | -5/+6 |
| | | |||||
* | | testsuite: fixed client tests | Chris St. Pierre | 2013-08-09 | 1 | -0/+6 |
| | | |||||
* | | testsuite: improved error messages from assertXMLEqual | Chris St. Pierre | 2013-02-08 | 1 | -4/+12 |
|/ | |||||
* | testsuite: fixed assertXMLEqual comparison of XML attribute values | Chris St. Pierre | 2012-12-03 | 1 | -4/+5 |
| | |||||
* | wrote more detailed unit testing documentation | Chris St. Pierre | 2012-10-05 | 1 | -21/+124 |
| | |||||
* | testsuite: unit tests for Cfg plugin and base handlers | Chris St. Pierre | 2012-10-02 | 1 | -0/+7 |
| | |||||
* | wrote unit tests for Properties | Chris St. Pierre | 2012-09-27 | 1 | -6/+2 |
| | |||||
* | unittests: define assertNotRegexpMatches separately from assertRegexpMatches | Chris St. Pierre | 2012-09-07 | 1 | -0/+5 |
| | |||||
* | unittests: add regex assertions to the Bcfg2TestCase base object as necessary | Chris St. Pierre | 2012-09-07 | 1 | -78/+72 |
| | |||||
* | testsuite: fixed patchIf() for intermediate versions of mock | Chris St. Pierre | 2012-09-07 | 1 | -32/+19 |
| | |||||
* | testsuite: fixed syncdb for Django 1.4 | Chris St. Pierre | 2012-09-07 | 1 | -3/+3 |
| | |||||
* | fixed some of our unittest convenience methods | Chris St. Pierre | 2012-09-05 | 1 | -2/+8 |
| | |||||
* | added assertRegexpMatches to Bcfg2TestCase for compat | Chris St. Pierre | 2012-09-04 | 1 | -1/+12 |
| | |||||
* | removed or fixed functools imports | Chris St. Pierre | 2012-08-23 | 1 | -1/+6 |
| | |||||
* | fixed patchIf() (I hope) | Chris St. Pierre | 2012-08-22 | 1 | -18/+59 |
| | |||||
* | fixed skip decorators | Chris St. Pierre | 2012-08-22 | 1 | -22/+9 |
| | |||||
* | add an argument, don't remove it in patchIf() | Chris St. Pierre | 2012-08-22 | 1 | -1/+1 |
| | |||||
* | remove extra argument in patchIf() the right way | Chris St. Pierre | 2012-08-22 | 1 | -1/+1 |
| | |||||
* | patchIf() adds arguments to function calls | Chris St. Pierre | 2012-08-22 | 1 | -1/+11 |
| | |||||
* | fixed assertItemsEqual for py < 2.7 | Chris St. Pierre | 2012-08-22 | 1 | -31/+5 |
| | |||||
* | fixed conditional patching of pylibacl/selinux methods for py2.6 | Chris St. Pierre | 2012-08-22 | 1 | -0/+15 |
| | |||||
* | removed context managers from unit tests | Chris St. Pierre | 2012-08-21 | 1 | -2/+2 |
| | |||||
* | lots of various py3k fixes | Chris St. Pierre | 2012-08-21 | 1 | -36/+129 |
| | |||||
* | fixed builtin mocks for py3k | Chris St. Pierre | 2012-08-21 | 1 | -0/+10 |
| | |||||
* | attempt to get tests working under python 2.6 | Chris St. Pierre | 2012-08-21 | 1 | -4/+79 |
| | |||||
* | abstracted out some common test stuff into common.py | Chris St. Pierre | 2012-08-13 | 1 | -0/+77 |