| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
The next patch syncs with global requirements, including an
update to hacking. These fixes align the codebase with those
new rules.
Change-Id: I16e5a4ffa877fb46d2fb28d881642185c801b628
|
|
|
|
|
|
|
|
| |
Introduce py33 to tox.ini to make testing with
python3 easier.
Change-Id: I9865a244281def963ab425537f5400f883054319
Signed-off-by: Chuck Short <chuck.short@canonical.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`tox -ecover` is failing due to a missing entry in keystone's tox.ini file.
In tox.ini the following code appears:
'''
[testenv:cover]
setenv = NOSE_WITH_COVERAGE=1
NOSE_COVER_HTML=1
NOSE_COVER_HTML_DIR={toxinidir}/cover
'''
Adding 'VIRTUAL_ENV={envdir}' to the setenv mapping, as shown below,
has resolved the issue on my machine.
'''
[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
NOSE_WITH_COVERAGE=1
NOSE_COVER_HTML=1
NOSE_COVER_HTML_DIR={toxinidir}/cover
'''
Change-Id: I3550ac61cdc6389dd239c5ad319d881519b3543d
Fixes: bug #1195371
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
* tox.ini: Set the coverage html output dir to {toxinidir}/cover so that
Jenkins can find it and upload the coverage to the log server.
Change-Id: I231485ce46b1ef91eb219e63552203b86d6d65c2
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| | |
It appears to be made when you resume a broken venv creation.
It is listed in oslo's pep8 exclude list and .gitignore.
Change-Id: I3db570c778ca9c6e0df72f5512ed1a9c643ecb38
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was abandoned once before: https://review.openstack.org/#/c/25781/
However this is not to do with packaging. This is required if we use
eventlet subprocess module (like we should be) in jenkins tests for
python2.6.
Also imports patch_tox_venv.py. This is a cutdown version of what would
happen in run_tests.sh but for tox environments which is how jenkins
runs tests now.
Change-Id: I369c3e464dfbe3a754f90db58785e97ac87b36c0
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We don't need this since EVENTLET_NO_GREENDNS=yes is set in
keystone.common.wsgi_server .
This reverts commit 46b224abf1c6f7c9bd579806f202a019e2695b29.
Change-Id: I96c2c567f68cdd509425245c7772196918b44b44
|
|/
|
|
|
|
|
|
|
| |
Rename tools/pip-requires to requirements.txt and tools/test-requires
to test-requirements.txt. These are standard files, and tools in the
general world are growing intelligence about them.
Fixes: bug #1179008
Change-Id: I1a19f0c73ab48987e2ff0dade1a57a68b65f0a22
|
|
|
|
|
|
|
|
|
| |
- docstring should not start with a space (flake8 H401)
- one line docstring needs punctuation (flake8 H402)
- multi line docstring end on new line (flake8 H403)
- multi line docstring should start with a summary (flake8 H404)
Change-Id: I69b414395930bda739aa01b785ac619fa8bb7d9b
|
|
|
|
| |
Change-Id: I0f6c5fc27b0bb2da553e9345a8ac4949ce46e685
|
|
|
|
| |
Change-Id: I0fa6fc6bf9d51b60fa987a0040168f3f0ef78a4a
|
|
|
|
| |
Change-Id: Idb93169a0b64861bff22d06304c020865dd0a0ab
|
|
|
|
| |
Change-Id: Ic53b43b96c490557352be212ac79a7e8a249c21a
|
|
|
|
|
|
|
|
|
|
|
| |
- eliminates ambiguously defined keywords in i18n strings which may
become incorrectly ordered in a corresponding translation.
- ensures formatting operations occur outside of i18n calls
- use bare multiline string concatenation instead of 'ab' + \n 'cd'
- eliminates an 'empty localization string' (passing a variable to i18n
function)
Change-Id: I0d78b978cc730e5fb892b80dfacaaf6687cd80be
|
|
|
|
|
|
| |
... when evaluating membership in a collection.
Change-Id: I3fd3d5b5d5ea505833be50193b8969f8c4feb135
|
|
|
|
| |
Change-Id: Ic47bdd61d9818f203a88ae16f97c2b61b1c1bd8c
|
|
|
|
|
|
|
|
| |
We were previously ignoring all H* rules; this patch specifically
identifies them so that we can eliminate them one by one, without
introducing regressions along the way.
Change-Id: I3f18f8f9aec8657697c711f5fbb23ec687ce28f0
|
|
|
|
| |
Change-Id: I716a6b61c2b3faaa23cc79f58c6c6e01cfc232f2
|
|
|
|
|
|
|
|
| |
- Removed unused imports
- Ignore wildcard and unused imports from core modules (and avoid
wildcard imports otherwise) to __init__ modules
Change-Id: Ie2e5f61ae37481f5d248788cfd83dc92ffddbd91
|
|
|
|
|
|
| |
Closes bug 1172444
Change-Id: I4831946d01f05c2a10264745a07b53fa48be44c8
|
|
|
|
|
|
|
| |
This should allow tests to pass on Centos 6 without
the 6219f94 commit which functionally breaks swift.
Change-Id: I4a6d07abf5159d3daa4c8f9bf94e60d730ccd300
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The cfg API is now available via the oslo-config library, so switch to
it and remove the copied-and-pasted version.
Add the 2013.1b3 tarball to tools/pip-requires - this will be changed
to 'oslo-config>=2013.1' when oslo-config is published to pypi. This
will happen in time for grizzly final.
Remove the 'deps = pep8==1.3.3' from tox.ini as it means all the other
deps get installed with easy_install which can't install oslo-config
from the URL.
Change-Id: I4815aeb8a9341a31a250e920157f15ee15cfc5bc
|
|
|
|
|
|
|
| |
Add the ability to use pyflakes.
Change-Id: I1c0a652258fd494bf6754b5b83c47166582a85d0
Signed-off-by: Chuck Short <chuck.short@canonical.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This updates the pep8 checks in our tox.ini file so that
we are also scanning the bin directory.
Additionally, it updates the main pep8 check so that it scans
keystone properly as well. Previously there were a bunch of files
getting skipped due to some of the pep8 pattern matching.
Change-Id: I13827f1c1e4155aa6979c10e981da5422391bf2d
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move specific functionality into test fixtures, so that normal test runners
can work. For now, this means we can use unaltered nose. For the future, it
gets us closer to being able to use other test runners such as testrepository
which allow for things like parallel test runs and re-running failed tests
in a dev/test cycle.
Also, aligns keystone with nova and glance.
Change-Id: Ic1966281c0bdfbc09792360209692e9d4a0a51a7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Syncs the following changes from stable/folsom:
4dc2043 cfg: clean up None value handling
513bd3a Allow set_default and set_override to use None
0a36c92 Tilde expansion for --config-file and --config-dir
038d597 Add import_opt() method to ConfigOpts
90da88c Modifies _is_opt_registered fcn to check for duplicate opts
3af0786 cfg: Fix typo in documentation
9f93872 Update common code to support pep 1.3. bug 1014216
fb0f00e Use 'is not None' instead of '!= None'
d1ec5ce Add support to include config aliases
Also, exclude keystone/openstack/common from pep8 checks because
it is pep8-checked in openstack-common anyway and all pep8 fixes
would need to go into openstack-common first.
Change-Id: Ie6354251942648c16c2be270af2b95f3f45e27ed
|
|
|
|
| |
Change-Id: I83aa851cec80652888faf3fe29d8b4904f8b4f63
|
|
|
|
| |
Change-Id: I0941053c8d3eff69e15da3bd7a8c6942ba4634b1
|
|
|
|
|
|
|
|
| |
The main culprit here was prettytable - but because of the way this was
working, it was causing intermittent transient network issues from pypi in
the devstack gates.
Change-Id: I62117116c850361c5e2de7e6485c14ef43007c1d
|
|
|
|
| |
Change-Id: I9a97ac7b997f531d05d4a6beab7d6c16ced7016a
|
|
|
|
| |
Change-Id: I215773d0d1b2f5763efcf96b3b84a291df856ad0
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* (per request from jeblair)
* version of python-ldap match between
test and requires
* pinned to 2.3.13 to let tests work in macosx
* separating dependencies between deps and test
* removed python-keystoneclient from install_requires
for now. (there is no python-keystoneclient in PyPI)
Real solution coming.
Change-Id: I89e50d6747fb57dee7badb17bc1231d3619e3ef7
|
|
|
|
| |
Change-Id: I01296b99d7ed91eb26b3d29256d8b9d538d9c839
|
| |
|
|
Change-Id: I528c3cc4e16dfa1465c8e3ac1062c65dc2ddc2f0
|