summaryrefslogtreecommitdiff
path: root/tox.ini
Commit message (Collapse)AuthorAgeFilesLines
* Add pylint tox envEric Harney2016-04-071-0/+6
| | | | | | | | | Run pylint with $ tox -e pylint (Copied from Cinder with minor changes.) Change-Id: I9d7f03c44c6da7515b433d6c87f3a1645184d491
* Merge "Use ostestr as a tests runner"Jenkins2016-03-021-1/+1
|\
| * Use ostestr as a tests runnerIvan Kolodyazhny2016-02-171-1/+1
| | | | | | | | | | | | | | ostestr has more user-friendly output including lists of all and failed tests. Change-Id: I6db42b0f7480d79b85e20334fb3c2d8236efc316
* | Update minimum tox version to 1.8Sean McGinnis2016-02-281-1/+1
| | | | | | | | | | | | | | | | Other projects have updated to 1.8 or later for the minimum tox version (nova, neutron), so we should probably do the same. Change-Id: I2a12208ee964278d10f34a8439cefa8269c11b9b
* | Remove pypy from tox environment listSean McGinnis2016-02-221-1/+1
|/ | | | | | | | | | | | | Pypy is a supported python interpretor for python-cinderclient, but I don't think it's necessary to run all unit tests with it for everyone. We do have the gate-python-cinderclient-pypy test to validate there are no incompatibilities. Pypy is also not available by default, so it is an extra step for someone to know to install and set up the pypy environment before they can run tox without failures. Change-Id: I15e315415574dfe8cf8a3d5f7f968a082b81b165
* Merge "Put py34 first in the env order of tox"Jenkins2016-02-111-1/+1
|\
| * Put py34 first in the env order of toxmalei2015-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | 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. "Closes-Bug: #1533919" Change-Id: Ib247b4000d9c1d906ef55fa2b5cc990cf1120850
* | Fix some flake8 violationsChaozhe.Chen2016-02-091-1/+1
|/ | | | | | | | | | 1. Wrong use of 'noqa'. "# flake8: noqa" option disables all checks for the whole file. 2. Remove exclusion of 'tools' and '*openstack/common*' in flake8 and fix the violations. Change-Id: I153e992ffd6a80e70a99d7066c503c34326c93ab Closes-bug: #1540254
* Merge "Do not require functional_creds.conf for functional tests"Jenkins2015-12-181-1/+1
|\
| * Do not require functional_creds.conf for functional testsIvan Kolodyazhny2015-12-171-1/+1
| | | | | | | | | | | | | | Pass OS_* env variables for functional tests to use environment variables if they are available instead of config file Change-Id: Ic1b4752bf558c57974b5f2a4d5a45aee4a940bbb
* | Drop py33 supportshu-mutou2015-12-151-1/+1
|/ | | | | | | | | | | | | | | "Python 3.3 support is being dropped since OpenStack Liberty." written in following URL. https://wiki.openstack.org/wiki/Python3 And already the infra team and the oslo team are dropping py33 support from their projects. Since we rely on oslo for a lot of our work, and depend on infra for our CI, we should drop py33 support too. Change-Id: Iea4db590139e1a611a5dca72ef3adca187eb541e Closes-Bug: #1526170
* Merge "Add reno for release notes management"Jenkins2015-12-141-0/+3
|\
| * Add reno for release notes managementSean McGinnis2015-12-131-0/+3
| | | | | | | | | | | | | | | | | | | | Adopt reno for release notes like we have done for cinder. One difference for the client is we will not be backporting to Liberty per recommendation here [1]. [1] http://lists.openstack.org/pipermail/openstack-dev/2015-November/080694.html Change-Id: Icb2520cfa249d104674eb42b5ac93a50a6ce34b4
* | Deprecated tox -downloadcache option removedOndřej Nový2015-12-111-3/+0
|/ | | | | | | | | | Caching is enabled by default from pip version 6.0 More info: https://testrun.org/tox/latest/config.html#confval-downloadcache=path https://pip.pypa.io/en/stable/reference/pip_install/#caching Change-Id: I63939800bf0fe6ef89d6651273e3bb53678d23a6
* Merge "Pass proxy environment variable to tox"Jenkins2015-12-091-0/+1
|\
| * Pass proxy environment variable to toxManjeet Singh Bhatia2015-12-081-0/+1
| | | | | | | | | | | | This will allow test to work if developement environment is under proxy Change-Id: Id89c57ac455c4b93bcaed8e9166b7a44bad2a25c
* | Merge "Remove py26 support"Jenkins2015-12-071-1/+1
|\ \
| * | Remove py26 supportshu-mutou2015-12-021-1/+1
| |/ | | | | | | | | | | | | | | | | | | as of mitaka, the infra team won't have the resources available to reasonably test py26, also the oslo team is dropping py26 support from their libraries. sine we rely on oslo for a lot of our work, and depend on infra for our CI, we should drop py26 support too. Change-Id: Icf1b13b044de03705688df929ed74429879c6dd8 Closes-Bug: 1519510
* | Delete python bytecode before every test runshu-mutou2015-12-021-1/+3
|/ | | | | | | | | Because python creates pyc files during tox runs, certain changes in the tree, like deletes of files, or switching branches, can create spurious errors. Change-Id: Ib5cbd375b208dbea1f18ada00b44ba76dcdda9c5 Closes-Bug: #1368661
* Fix functional tests fail on the env with httpsYuriy Nesenenko2015-10-291-0/+4
| | | | | | | | | The OS_CACERT environment variable should be passed to the test environments to specify a CA bundle file to use in verifying a TLS (https) server certificate. Change-Id: Iee50946b34b7e285ebb7924cd5ac6cd83b355e48 Closes-Bug: #1511023
* Remove H302Zhenguo Niu2015-07-211-1/+1
| | | | | | | H302 rule was removed from hacking. [H302] Do not import objects, only modules. Change-Id: I86d45d5bc86e42e009b214cff71821ff171d69af
* Merge "Fix functional post test_hook"Jenkins2015-06-161-0/+1
|\
| * Fix functional post test_hookIvan Kolodyazhny2015-06-091-0/+1
| | | | | | | | | | | | | | 1) Set correct $CINDERCLIENT_DIR to make Jenkins happy 2) Set OS_VOLUME_API_VERSION=2 to run with Cinder API v2 on gates Change-Id: Id6be541fa2862eb833ed645e42bedcac6cef19dd
* | Merge "Work toward Python 3.4 support and testing"Jenkins2015-06-131-1/+1
|\ \ | |/ |/|
| * Work toward Python 3.4 support and testingJeremy Stanley2014-09-031-1/+1
| | | | | | | | Change-Id: I57ca0908e22ac048ea3f24f39af99cdfbff94a62
* | Bump hacking to >=0.10.0,<0.11 to fix failure of gate pep8Tomoki Sekiyama2015-06-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | pbr 1.0.1 released in 2015-05-19 requires the newer hacking module >=0.10.0,<0.11 than the versions specified in the test-requirement.txt file, which causes failure in gate-python-cinderclient-pep8. This patch bumps the pbr version in test-requirement.txt to make it consistent with requirements repository, and adds some fixups to avoid some new hacking rules. Change-Id: I7de6e04e30a475ec1c26224461faf0c708178a40 Closes-Bug: #1460774
* | Add CLI read-only functional testsJohn Griffith2015-05-041-0/+4
|/ | | | | | | | | | | | | | | | | First pass at functional tests in cinderclient. This patch just takes some of the basic CLI tests from tempest and moves them into the cinderclient functional tests. These are read-only tests, and just do simple field checks on the tables generated by the basic list commands. Note: to run use "tox -efunctional", this requires that you have a full cinderclient env and credentials are set. You may be either running this locally (say in a devstack env) or you may have a remote cloud handy that you can just source the credentials for and run it that way. Change-Id: I2f09a63be265d6a74cb103d80579068b9ab66bf4
* Add a tox job for generating docsSteve Martinelli2014-07-241-0/+4
| | | | | | | Add a tox job to make it easier for developers to generate their own docs before submitting a patch. Change-Id: Icbfd5ee5556a9c344ebe9ca7f4b579a87ad2d01b
* Remove tox locale overridesJeremy Stanley2014-02-101-3/+0
| | | | | | | | | | | | | | | * tox.ini: The LANG, LANGUAGE and LC_ALL environment overrides were introduced originally during the testr migration in an attempt to be conservative about the possibility that locale settings in the calling environment could cause consistency problems for test runs. In actuality, this should be unnecessary and any place where it does cause issues ought to be considered an actual bug. Also, having these in the configuration actively causes older pip to have problems with non-ASCII content in some package metadata files under Python 3, so drop it now. Change-Id: Ibd505447de74f13d90b9ff77dfd8c6b30c4c12cb Closes-Bug: #1277495
* Updates tox.ini to use new featuresSushil Kumar2013-12-091-0/+4
| | | | | | | | | | | | | | | | Reasons: - tox update v1.6 Changes: - tox 1.6 allows us to skip the sdist step, which is slow. - It also allows us to override the install line. In this case, it's important as it allows us to stop getting pre-release software we weren't asking for. Original patch by Monty Taylor, talked about here: http://lists.openstack.org/pipermail/openstack-dev/2013-September/015495.html Change-Id: I8a8fdd420eceb5b702e7d9eedd8b5be341d3f56e
* Added support for running the tests under PyPy with toxAlex Gaynor2013-09-051-1/+1
| | | | | | This is a precursor to having them run under check and gate. Change-Id: I377f0a4dddc063402db7486789f7c00847013eec
* python3: Fix tox requirementsChuck Short2013-08-081-0/+1
| | | | | | | | | Update tox.ini to no to install distribute. Also bump testrepository to a newerver version since it fixes some python3 compat issues. Change-Id: I735dc28cdb94e3376b391d11220c1ba90ddb8b2e Signed-off-by: Chuck Short <chuck.short@canonical.com>
* Start Gating on Pyflakes and HackingDirk Mueller2013-06-091-1/+1
| | | | | | | | Instead of globally ignoring Pyflakes and Hacking warnings, only blacklist those that occur frequently and fix the others. Start gating on those checks. Change-Id: Ice032c16d445ef08ef018bcdc5c221ab3c323755
* python3: Introduce py33 to tox.iniChuck Short2013-06-011-1/+1
| | | | | | | | Introduce py33 to tox.ini to make testing with python3 easier. Change-Id: If979800c5c337996bfdfa5bc99d03ad945192816 Signed-off-by: Chuck Short <chuck.short@canonical.com>
* Rename requires files to standard names.Monty Taylor2013-05-201-2/+2
| | | | | | Fixes bug 1179008. Change-Id: I6765bb82df1ae672790662a30ee3527450685036
* Migrate to flake8.Monty Taylor2013-05-181-2/+6
| | | | | | Fixes bug 1172444. Change-Id: Ia063ec67de9e6061ce38b948c9eb60b5589c7bb4
* Move from nose to testr.Monty Taylor2013-01-171-23/+6
| | | | | | | | | | | Granted - this takes the test suite from 3 seconds to 1 second... but there are a bunch of other ways (correctness) that testr is better than nose. Removed tests/v1/utils - it was not being used anywhere. Part of blueprint grizzly-testtools. Change-Id: I54d9a0b7dc22305ec60d779d6f19025a0b5dc785
* Align setup.py and tox with standards.Monty Taylor2012-05-211-6/+34
| | | | Change-Id: Ic63c6fd4d770303ae5f295c58e43213e88e34b57
* Initial split from python-novaclient.0.0Jenkins2012-05-211-0/+14