Commit Graph

27 Commits

Author SHA1 Message Date
David Wilson 53d882dcbd tests: activate faulthandler if available 2018-10-29 15:25:15 +00:00
David Wilson 3585ee74f7 tests: split out ansible_tests requirements
Also remove hard-coded Ansible version, the tests don't need it, nor
does local testing most of the time
2018-10-26 12:58:08 +01:00
David Wilson 905ab890fb tests: stop idiotic Travis TTY/pip progress bar spam 2018-10-26 12:30:40 +01:00
David Wilson 0864155592 tests: pin pycparser to last 2.6-compatible version 2018-10-26 11:15:41 +01:00
Alex Willmer 9fbcb67665 Update pytz to 2018.05 (needed by babel 2.6.0)
On Ubuntu 18.04 (others not tested) installing the dev requirements
fails with the following error

babel 2.6.0 has requirement pytz>=0a, but you'll have pytz 2012d which
is incompatible.

Despite the comment in dev_requirements.txt pytz-2012d is not the most
recent version to support Python 2.6. In fact the latest release of pytz
supports Python 2.6.
2018-09-30 21:34:25 +01:00
David Wilson 441c60a3ca Fix GitHub vulnerability notification. 2018-07-26 11:55:04 -07:00
Daniel Quackenbush 5d3152cdc1 Updated Travis Config to use Ansible 2.6.1, Added build status in readme 2018-07-21 11:16:54 -04:00
David Wilson 8b398e797e issue #275: bump ansible to 2.5.5 2018-06-25 01:36:55 +01:00
David Wilson 1cb084061c issue #275: Pin paramiko to a v2.6-compatible version. 2018-06-25 01:36:44 +01:00
David Wilson cec564654e issue #275: tests: fix module_finder_test for 2.6. 2018-06-25 01:36:41 +01:00
David Wilson 4649e11da3 issue #275: Travis build matrix from hell.
dev_requirements.txt:
- drop debops, it's not available for Python2.6
2018-06-25 01:35:14 +01:00
David Wilson 38d69a6ecd issue #275: tests: drop docker client dep, doesn't run on 2.6. 2018-06-24 21:12:34 +01:00
David Wilson 1a0e630a80 tests: add debops to requirements 2018-05-15 22:15:49 +01:00
David Wilson 2c58591129 Bump Ansible version in dev_requirements.txt 2018-05-15 21:17:48 +01:00
Alex Willmer 94a082177d tests: Add coverage as a dev requirement 2018-04-01 02:04:41 +01:00
Alex Willmer 841c2b13a1 fakessh_test: Apply timeout decorators to rsync tests
timeoutcontext.timeout uses SIGALRM, hence it will only work on Unix
like operating systems.
2018-04-01 01:17:29 +01:00
David Wilson 4541bc76a0 Add Google Cloud client to dev requirements
Will be used more heavily for CI later, but it's already in use by
gcloud-ansible-playbook.py.
2018-03-19 21:58:35 +05:45
Alex Willmer 7063d172e9 tests: Add Tox config for Python 2.6 and 2.7
I could not get Python 2.5 or earlier to work. Too many packages
(critically docker) don't support it.
2018-03-19 21:58:34 +05:45
David Wilson 219718740b Move django test script into permanent test 2018-03-19 21:58:28 +05:45
David Wilson da8253bab5 Fix broken requires file syntax. 2018-03-19 21:58:28 +05:45
Alex Willmer d743823a5e Require unittest2 2018-03-19 21:58:27 +05:45
Alex Willmer 1d60c2443a Add mock requirement 2018-03-19 21:58:27 +05:45
Alex Willmer 282862ad49 Fix "hook uses deprecated __multicall__ argument" warning
By replacing pytest-capturelog with pytest-catchlog we fix one warning
that is reported by pytest:

```
venv/local/lib/python2.7/site-packages/pytest_capturelog.py:171
'pytest_runtest_makereport' hook uses deprecated __multicall__
argument

None
pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__"
prefix is deprecated and scheduled to be removed in pytest 4.0.  Please
remove the prefix and use the @pytest.fixture decorator instead.
pytest_funcarg__capturelog: declaring fixtures using
"pytest_funcarg__" prefix is deprecated and scheduled to be removed in
pytest 4.0.  Please remove the prefix and use the @pytest.fixture
decorator instead.

-- Docs: http://doc.pytest.org/en/latest/warnings.html
```

pytest-capturelog seems to be unmaintained, the bug in question
<https://bitbucket.org/memedough/pytest-capturelog/issues/6> has been
open since July 2015. pytest-catchlog is a fork of pytest-capturelog.
2018-03-19 21:35:37 +05:45
David Wilson 15bf0f54e2 Beginnings of module_finder_test 2018-03-19 21:35:37 +05:45
David Wilson 0ff65c9780 docs: Use sphinx-programoutput plugin for preamble_size.py 2018-03-19 21:35:36 +05:45
David Wilson 3cf75c9f2b Add more dependencies to dev_requirements.txt. 2018-03-19 21:35:34 +05:45
David Wilson b51e41edb5 Working DockerMixin for tests. 2018-03-19 21:35:17 +05:45