Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | testsuite: Fix building of m2crypto with Python2.6 | Alexander Sulfrian | 2017-08-17 | 1 | -5/+10 |
| | |||||
* | testsuite: Use cheetah3 if possible | Alexander Sulfrian | 2017-08-17 | 1 | -3/+3 |
| | | | | cheetah3 is a fork of cheetah for Python2.7 and Python3. | ||||
* | testsuite: guppy does not support Python3 | Alexander Sulfrian | 2017-08-17 | 1 | -2/+2 |
| | |||||
* | testsuite: Requirements for Python3 | Alexander Sulfrian | 2017-08-17 | 3 | -6/+17 |
| | |||||
* | travis-ci: Simplified test script | Alexander Sulfrian | 2017-08-17 | 1 | -0/+9 |
| | |||||
* | testsuite: Use older mercurial for python2.6 | Alexander Sulfrian | 2017-08-16 | 1 | -3/+3 |
| | | | | | | | | > Mercurial 4.2.2 is the last release to support Python 2.6. > Use this if you need to run Mercurial on old platforms and > you cannot update your Python installation. See also: https://www.mercurial-scm.org/wiki/SupportedPythonVersions | ||||
* | testsuite: Django should work on Python3, too | Alexander Sulfrian | 2017-03-29 | 1 | -6/+6 |
| | |||||
* | travis-ci: Show skipped tests | Alexander Sulfrian | 2017-03-29 | 1 | -2/+3 |
| | | | | | For the test environment with all optional dependencies, we want to run all tests. So let's print all skipped tests. | ||||
* | testsuite: No doc test is the default | Alexander Sulfrian | 2017-03-29 | 1 | -1/+1 |
| | | | | | For the doc test all (optional) dependencies have to be installed, so the doc test is only usefull in a few special test environments. | ||||
* | testsuite: Support for ancient pylint versions | Alexander Sulfrian | 2017-03-29 | 3 | -3/+286 |
| | | | | | | | | | | | | | | | | | For Python2.4 and Python2.5 we need very old pylint versions (0.21.x). So we have to work around some bugs: - This adds some ugly monkey patching to backport some bugfixes from newer pylint versions (that does not support Python2.4 anymore). - Another problem is, that pylint-0.24 changed its message IDs. So this translates the new IDs into the older ones, so that the old pylint can match the disabled messages. - The newer version of pylint support more messages and some of the new messages have to be disabled. The old pylint versions have to silently ignore unknown message ids. - The compatible astng version of the old pylint does not support register_transformer, so we need to build out own variant by monkey patching the ASTNGBuilder. | ||||
* | testsuite: ExceptionMessageChecker support for old python | Alexander Sulfrian | 2017-03-29 | 1 | -3/+8 |
| | |||||
* | testsuite: Server requires Python2.6 | Alexander Sulfrian | 2017-03-29 | 2 | -2/+4 |
| | | | | | | | | | | We do not want to run the test for the Server with Python2.4 and Python2.5 and use the nose-exclude plugin to disable the Server tests based on the directory. We do not even want to import the modules of the Server, as it might not be possible anymore (missing dependencies or invalid syntax). nose-exclude-0.2 breaks compatibility with Python2.5 and below (it is using the "with open(..):" syntax), so we have to stick to the last version below. | ||||
* | travis-ci: Also run tests with python2.4 and python2.5 | Alexander Sulfrian | 2017-03-29 | 3 | -20/+45 |
| | |||||
* | travis-ci: Cache wheels for python deps | Alexander Sulfrian | 2017-03-29 | 1 | -6/+12 |
| | | | | | | The python dependencies are only build once to create the wheel and cached using the travis-ci infrastructure. All builds afterwards will be faster because the cached version is used. | ||||
* | travis-ci: Cache common xml schema files | Alexander Sulfrian | 2017-03-29 | 2 | -3/+28 |
| | |||||
* | travis-ci: Use container-based infrastructure | Alexander Sulfrian | 2017-03-29 | 1 | -6/+0 |
| | | | | | | The new travis infrastructure is container-based and does not allow the use of sudo, but travis allows to install whitelisted apt packages (http://docs.travis-ci.com/user/migrating-from-legacy/). | ||||
* | Merge pull request #362 from AlexanderS/fix/missing-config-file | Alexander Sulfrian | 2017-03-10 | 1 | -2/+6 |
|\ | | | | | Options: Missing config file is not a fatal error | ||||
| * | TestOptions: Do not try to parse the cmd args of the tests | Alexander Sulfrian | 2016-10-04 | 1 | -2/+3 |
| | | |||||
| * | testsuite: Missing config file should not raise SystemExit anymore | Alexander Sulfrian | 2016-09-28 | 1 | -1/+4 |
| | | |||||
* | | testsuite: Use python-augeas from PyPI with pip | Alexander Sulfrian | 2017-03-07 | 1 | -2/+1 |
| | | | | | | | | | | | | fedorahosted.org was retired on March 1st, 2017. So we need to pull python-augeas from anywhere else, let's simply install it with pip from PyPI. | ||||
* | | testsuite: Restrict the sphinx version | Alexander Sulfrian | 2017-01-10 | 1 | -1/+1 |
| | | | | | | | | | | The current version of sphinx has problems fetching the intersphinx inventory files: https://github.com/sphinx-doc/sphinx/issues/3234 | ||||
* | | testsuite: Fix XMLSyntaxError initialization | Arach | 2017-01-10 | 1 | -2/+1 |
| | | | | | | | | lxml-3.7.0 requires integers as arguements for XMLSyntaxError. | ||||
* | | Merge pull request #345 from AlexanderS/fix/django-1.10 | Alexander Sulfrian | 2017-01-10 | 1 | -1/+1 |
|\ \ | |/ |/| | Fixes for django 1.10 | ||||
| * | testsuite: Bump django version | Alexander Sulfrian | 2016-08-18 | 1 | -1/+1 |
| | | | | | | | | We should be compatible with django-1.10 now. | ||||
* | | testsuite: Use TestDatabaseBacked for Probes, too | Alexander Sulfrian | 2016-09-12 | 1 | -3/+3 |
| | | |||||
* | | testsuite: Increase verbosity of management commands | Alexander Sulfrian | 2016-09-12 | 1 | -2/+2 |
| | | | | | | | | This helps debugging on errors. | ||||
* | | testsuite: Unlink database before syncing | Alexander Sulfrian | 2016-09-12 | 1 | -9/+20 |
| | | | | | | | | | | This prevents false test results with database files staying around in the local development directory. | ||||
* | | testsuite: Only sync the database once per TestCase | Alexander Sulfrian | 2016-09-05 | 4 | -11/+13 |
|/ | |||||
* | testsuite: Add missing optional dependencies | Alexander Sulfrian | 2016-08-18 | 1 | -2/+3 |
| | |||||
* | doc: Add unit test to check for errors/warnings in doc | Alexander Sulfrian | 2016-08-18 | 1 | -0/+39 |
| | |||||
* | 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: Do not run code checks on migrations | Alexander Sulfrian | 2016-08-17 | 1 | -0/+2 |
| | | | | The migration files are autogenerated and do not need code checks. | ||||
* | testsuite: Use django<1.10 | Alexander Sulfrian | 2016-08-17 | 1 | -1/+1 |
| | | | | | | | We currently have a problem with django 1.10 because url.patterns is removed and we need to change the format of the url mappings: https://docs.djangoproject.com/en/1.9/ref/urls/#patterns | ||||
* | 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. | ||||
* | travis-ci: Use django1.6 for python2.6. | Alexander Sulfrian | 2016-08-17 | 1 | -5/+8 |
| | | | | Python2.6 support was dropped in django-1.7. | ||||
* | travis-ci: Bump django dependency | Alexander Sulfrian | 2016-08-17 | 1 | -2/+2 |
| | |||||
* | travis-ci: Fix installation of dependencies | Alexander Sulfrian | 2016-08-17 | 1 | -2/+2 |
| | | | | | | This is just a quick fix: The new version of pip on travis does fail when using the --use-mirrors option (to be fair, the option was deprecated long time ago). | ||||
* | Merge branch 'fix/mock-patch' of https://github.com/AlexanderS/bcfg2 | Sol Jerome | 2016-01-27 | 2 | -5/+8 |
|\ | |||||
| * | testsuite: Remove legacy CamelCase mock calls | Alexander Sulfrian | 2016-01-22 | 1 | -4/+4 |
| | | | | | | | | Newer versions of mock, does not support the CamelCase calls. | ||||
| * | 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. | ||||
* | | Merge branch 'tests-secontext' of https://github.com/gordonmessmer/bcfg2 | Sol Jerome | 2016-01-20 | 1 | -2/+24 |
|\ \ | |/ |/| | |||||
| * | Set secontext attribute to a full ucontext value, as the bcfg2 server will ↵ | Gordon Messmer | 2015-11-19 | 1 | -1/+1 |
| | | | | | | | | generate | ||||
| * | Mock out selinux.lgetfilecon | Gordon Messmer | 2015-11-19 | 1 | -1/+23 |
| | | |||||
* | | Merge pull request #299 from AlexanderS/fix/caching | Chris St. Pierre | 2015-10-05 | 2 | -5/+17 |
|\ \ | | | | | | | Expire metadata cache in all Connector plugins. | ||||
| * | | Properties: Expire the metadata cache during reload of the files | Alexander Sulfrian | 2015-07-27 | 1 | -3/+12 |
| | | | |||||
| * | | TemplateHelper: Expire metadata cache on FileMonitor event | Alexander Sulfrian | 2015-07-27 | 1 | -2/+5 |
| | | | |||||
* | | | Merge branch 'fix/django1.7' of https://github.com/AlexanderS/bcfg2 | Sol Jerome | 2015-10-01 | 1 | -0/+4 |
|\ \ \ | |||||
| * | | | update testsuite for django 1.7 | Jonas Jochmaring | 2015-09-23 | 1 | -0/+4 |
| | |/ | |/| | |||||
* / | | testsuite: metadata.bundles shoud be a set() | Alexander Sulfrian | 2015-09-30 | 1 | -2/+2 |
|/ / | |||||
* | | Merge branch 'rules-replace_name' of https://github.com/AlexanderS/bcfg2 | Sol Jerome | 2015-09-01 | 3 | -9/+37 |
|\ \ |