Commit Graph

13 Commits

Author SHA1 Message Date
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