summaryrefslogtreecommitdiffstats
path: root/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* testsuite: Fix pip index-url for ancient pythonAlexander Sulfrian2019-08-021-1/+1
|
* testsuite: boto requires google_compute_engineAlexander Sulfrian2019-05-081-1/+2
| | | | | | | | | | | | | | | At least with pythn2.6 boto requires google_compute_engine: > Traceback (most recent call last): > File ".../site-packages/boto/__init__.py", line 1216, in <module> > boto.plugin.load_plugins(config) > File ".../site-packages/boto/plugin.py", line 93, in load_plugins > _import_module(file) > File ".../site-packages/boto/plugin.py", line 75, in _import_module > return imp.load_module(name, file, filename, data) > File ".../dist-packages/google_compute_engine/boto/compute_auth.py", line 19, in <module> > from google_compute_engine import logger > ImportError: No module named google_compute_engine
* testsuite: PyYAML-5.1 removed support for Python 2.6Alexander Sulfrian2019-05-071-4/+4
|
* testsuite: lxml-4.3.0 removed support for Python 2.6Alexander Sulfrian2019-05-071-1/+1
|
* testsuite: Fix build for python2.6Alexander Sulfrian2018-10-121-3/+3
| | | | pycparser-2.19 requires python2.7.
* POSIX: Don't follow symlinks when changing ownerHolger Weiß2018-05-181-14/+14
| | | | | Don't let the client follow symbolic links when changing the owner of a path.
* travis-ci: Fix pip failure for older python versionsAlexander Sulfrian2017-11-031-1/+1
| | | | | | | The older python versions only ship with an old version of pip. Since some days SSL is required for downloading from pypi. We have to specify this explicitly because the older pip version only try http by default. (https://github.com/pypa/pip/issues/4817)
* travis-ci: Fix "with_system_site_packages"Alexander Sulfrian2017-08-171-0/+10
| | | | | | | The "with_system_site_packages" virtualenv seems to be missing the pymodules directory containing python modules installed with the python-support debian helper. So we use the default environment and manually add the references to the system-wide python packages.
* testsuite: Bump sphinx versionAlexander Sulfrian2017-08-171-1/+1
| | | | https://github.com/sphinx-doc/sphinx/issues/3234 should be fixed now.
* testsuite: Bump pylint version for Python3Alexander Sulfrian2017-08-173-2/+12
|
* testsuite: Fix syntaxAlexander Sulfrian2017-08-171-1/+1
|
* testsuite: Fix building of m2crypto with Python2.6Alexander Sulfrian2017-08-171-5/+10
|
* testsuite: Use cheetah3 if possibleAlexander Sulfrian2017-08-171-3/+3
| | | | cheetah3 is a fork of cheetah for Python2.7 and Python3.
* testsuite: guppy does not support Python3Alexander Sulfrian2017-08-171-2/+2
|
* testsuite: Requirements for Python3Alexander Sulfrian2017-08-173-6/+17
|
* travis-ci: Simplified test scriptAlexander Sulfrian2017-08-171-0/+9
|
* testsuite: Use older mercurial for python2.6Alexander Sulfrian2017-08-161-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, tooAlexander Sulfrian2017-03-291-6/+6
|
* travis-ci: Show skipped testsAlexander Sulfrian2017-03-291-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 defaultAlexander Sulfrian2017-03-291-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 versionsAlexander Sulfrian2017-03-293-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 pythonAlexander Sulfrian2017-03-291-3/+8
|
* testsuite: Server requires Python2.6Alexander Sulfrian2017-03-292-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.5Alexander Sulfrian2017-03-293-20/+45
|
* travis-ci: Cache wheels for python depsAlexander Sulfrian2017-03-291-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 filesAlexander Sulfrian2017-03-292-3/+28
|
* travis-ci: Use container-based infrastructureAlexander Sulfrian2017-03-291-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-fileAlexander Sulfrian2017-03-101-2/+6
|\ | | | | Options: Missing config file is not a fatal error
| * TestOptions: Do not try to parse the cmd args of the testsAlexander Sulfrian2016-10-041-2/+3
| |
| * testsuite: Missing config file should not raise SystemExit anymoreAlexander Sulfrian2016-09-281-1/+4
| |
* | testsuite: Use python-augeas from PyPI with pipAlexander Sulfrian2017-03-071-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 versionAlexander Sulfrian2017-01-101-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 initializationArach2017-01-101-2/+1
| | | | | | | | lxml-3.7.0 requires integers as arguements for XMLSyntaxError.
* | Merge pull request #345 from AlexanderS/fix/django-1.10Alexander Sulfrian2017-01-101-1/+1
|\ \ | |/ |/| Fixes for django 1.10
| * testsuite: Bump django versionAlexander Sulfrian2016-08-181-1/+1
| | | | | | | | We should be compatible with django-1.10 now.
* | testsuite: Use TestDatabaseBacked for Probes, tooAlexander Sulfrian2016-09-121-3/+3
| |
* | testsuite: Increase verbosity of management commandsAlexander Sulfrian2016-09-121-2/+2
| | | | | | | | This helps debugging on errors.
* | testsuite: Unlink database before syncingAlexander Sulfrian2016-09-121-9/+20
| | | | | | | | | | This prevents false test results with database files staying around in the local development directory.
* | testsuite: Only sync the database once per TestCaseAlexander Sulfrian2016-09-054-11/+13
|/
* testsuite: Add missing optional dependenciesAlexander Sulfrian2016-08-181-2/+3
|
* doc: Add unit test to check for errors/warnings in docAlexander Sulfrian2016-08-181-0/+39
|
* testsuite: Ignore failing syncdbAlexander Sulfrian2016-08-171-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 migrationsAlexander Sulfrian2016-08-171-0/+2
| | | | The migration files are autogenerated and do not need code checks.
* testsuite: Use django<1.10Alexander Sulfrian2016-08-171-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 djangoAlexander Sulfrian2016-08-171-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 Sulfrian2016-08-171-5/+8
| | | | Python2.6 support was dropped in django-1.7.
* travis-ci: Bump django dependencyAlexander Sulfrian2016-08-171-2/+2
|
* travis-ci: Fix installation of dependenciesAlexander Sulfrian2016-08-171-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/bcfg2Sol Jerome2016-01-272-5/+8
|\
| * testsuite: Remove legacy CamelCase mock callsAlexander Sulfrian2016-01-221-4/+4
| | | | | | | | Newer versions of mock, does not support the CamelCase calls.