19 Commits

Author SHA1 Message Date
Jon Dufresne
281867576d Add testing for newer Python versions 3.5 and 3.6
Include all supported Python versions as trove classifiers. Helps
library users know, at a glance, if the library can be integrated with
a project.

Remove Python 2.6 trove classifier, support was removed in
9bcf955af8dd62aa52c86e48a4868d2725353531

Also add trove classifier for PyPy as it is included in the tox test
matrix.

Change-Id: Iff7dcec47260006b325e3059cfaf8b8e912d2318
2017-11-19 14:11:51 -08:00
Jenkins
a8b009cf28 Merge "Add tox environment to run against master requests" 2016-05-09 05:02:10 +00:00
Jamie Lennox
cacbc01c40 Add tox environment to run against master requests
Add a new environment that will install the latest development version
of requests. This lets you check for anything new coming down that might
bite us in upcoming releases.

Change-Id: I3dfaf79c681c5c4075b387947d797285c011cb88
2016-05-09 14:41:15 +10:00
Janonymous
9bcf955af8 Fix py34 DB issue and remove py33/py26
To solve the problem of "db type could
not be determined" on py34 we have to run first the py34 env to, then,
run py27. This patch puts py34 first on the tox.ini list of envs to
avoid this problem to happen. py33/py26 is not supported from Mitaka,
as per Infra, therefore removing the support for the same.

Closes-Bug: #1526170
Closes-bug: #1489059
Change-Id: Ia4a7d21179efc17d4d9af2bbc0c060e5b6512b79
2016-01-07 02:56:49 +00:00
Jamie Lennox
fc179b2c49 Update novaclient and keystoneclient git repo
The locations provided are no longer available. The cgit portion of the
URL has been removed.

Switch to https:// for transport.

Closes-Bug: #1402501
Change-Id: I7216259dcbae2104ee4a4dba6a451e11b14d3214
2014-12-15 15:28:41 +10:00
Jamie Lennox
3c4f1527e5 Add pbr to all tox environments
Doc builds are failing, apparently it's fixed by having pbr installed.
PBR really should be installed in all tox environments so just put it in
the main tox deps.

Change-Id: Iffc9a343d2953800a0afb4a92a5a6835e868994d
2014-12-02 10:01:18 +10:00
Jenkins
2349d858f3 Merge "Add docs environment to tox.ini" 2014-09-09 22:00:16 +00:00
Jenkins
0eaa4b1ddb Merge "Work toward Python 3.4 support and testing" 2014-09-09 00:04:20 +00:00
Monty Taylor
28083e5a7a Add docs environment to tox.ini
As per the governance resolution https://review.openstack.org/119875,
projects should have a docs environment in their tox.ini testing
interface. Add one.

Change-Id: Ia92b59e9b0db701b152d9c76535d7dcffdacf45d
2014-09-08 13:53:46 -07:00
Jeremy Stanley
4b88c4bbcf Work toward Python 3.4 support and testing
Change-Id: I1d146fdb7599c57c458a910916e246bae7c44031
2014-09-03 19:09:13 +00:00
Jamie Lennox
e0a2e664ca Run tip tests against requests master as well
When running the keystoneclient and novaclient tip tests we should run
against the development branch of requests as well so that we are not
surprised by new releases upstream.

Change-Id: Iac36c91adbdf2b6fa8444d15aa8f9dee66f7e297
Related-Bug: #1363632
2014-08-31 22:15:34 +10:00
Jamie Lennox
e038d60b90 Create a tox env for requests v1.2.3
Requests 1.2.3 seems to be a real pain, it's right before the v2.0
cleanup and there have been a number of inconsistencies. Create a tox
environment for checking them, and we should really gate on this as
well.

Change-Id: I343b9b7124a6bfb8e1fb711a286b8a896f50fc7b
2014-08-27 04:43:54 +10:00
Jamie Lennox
3cddcf2b97 Add keystoneclient and novaclient tests to tox
We want to be able to test changes in requests-mock against some of our
consumers to ensure we don't break anyone.

Change-Id: I029c25d7274e0d7638d85cbf3dc6c42aad3a5463
2014-08-18 10:37:17 +10:00
Jamie Lennox
3ca4acb494 Fix tests running for zuul
- Add Sphinx to test-requirements
- Add a venv environment to tox for zuul runner.
- Fix pep8 issue in tests.

Change-Id: I742802381e588790a86d00371829dc88d21c9e64
2014-08-01 14:48:45 +10:00
Jamie Lennox
97fb2bce39 Doctest fixups 2014-06-23 22:37:36 +10:00
Jamie Lennox
bdb7239cd1 A documentation effort
Added sphinx setup, apidoc and fixed up readme.
2014-06-16 14:53:48 +10:00
Jamie Lennox
6227295409 Enable coverage testing
For whatever reason I couldn't make this work with testr, so at least
for now the tests will have to go through the testtools runner.
2014-06-15 11:12:21 +10:00
Jamie Lennox
c0f37dc9c0 Convert tests to testr, add flake8 tox command 2014-06-15 01:52:11 +10:00
Jamie Lennox
9de0862eed Initial commit
Simple framework with basic testing.
2014-04-10 13:13:07 +10:00