| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Run pylint with
$ tox -e pylint
(Copied from Cinder with minor changes.)
Change-Id: I9d7f03c44c6da7515b433d6c87f3a1645184d491
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
ostestr has more user-friendly output including lists of all and
failed tests.
Change-Id: I6db42b0f7480d79b85e20334fb3c2d8236efc316
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |/
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |/
|
|
|
|
|
|
|
|
| |
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
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
Pass OS_* env variables for functional tests to use environment
variables if they are available instead of config file
Change-Id: Ic1b4752bf558c57974b5f2a4d5a45aee4a940bbb
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"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
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |/
|
|
|
|
|
|
|
|
| |
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
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
This will allow test to work if developement environment is under proxy
Change-Id: Id89c57ac455c4b93bcaed8e9166b7a44bad2a25c
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |/
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
H302 rule was removed from hacking.
[H302] Do not import objects, only modules.
Change-Id: I86d45d5bc86e42e009b214cff71821ff171d69af
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| | |
Change-Id: I57ca0908e22ac048ea3f24f39af99cdfbff94a62
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 to make it easier for developers to generate their
own docs before submitting a patch.
Change-Id: Icbfd5ee5556a9c344ebe9ca7f4b579a87ad2d01b
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
This is a precursor to having them run under check and gate.
Change-Id: I377f0a4dddc063402db7486789f7c00847013eec
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
Introduce py33 to tox.ini to make testing with
python3 easier.
Change-Id: If979800c5c337996bfdfa5bc99d03ad945192816
Signed-off-by: Chuck Short <chuck.short@canonical.com>
|
| |
|
|
|
|
| |
Fixes bug 1179008.
Change-Id: I6765bb82df1ae672790662a30ee3527450685036
|
| |
|
|
|
|
| |
Fixes bug 1172444.
Change-Id: Ia063ec67de9e6061ce38b948c9eb60b5589c7bb4
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Change-Id: Ic63c6fd4d770303ae5f295c58e43213e88e34b57
|
| |
|