| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This updates the test-requirements to more recent flake8-docstrings
and pep8 versions. I also added some more ignores that would take
significant work to update and fixed some minor linting issues.
Change-Id: Ia416658b8a4bfb8f43f8df170053abb3ae958d44
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).
Fixing:
- bug#1886298
Bump the lower constraints for required deps which added python3.8 support
in their later version.
Story: #2007865
Task: #40190
Closes-Bug: #1886298
[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal
Change-Id: I602c3ce7c94a039e3fd550cbb47a8e8f095aacea
|
|/
|
|
|
|
|
|
| |
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: Idc319f3f8a3ddd57cba91e4cefc66dbb18d5cc22
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Blacklist:
W504 line break after binary operator
W503 line break before binary operator
Fix other problems found
Change-Id: I2fb257a4f42b499df3702f3e8f3c99ecb28557d6
|
|
|
|
|
|
|
|
|
|
| |
The latest version of bandit has broken directory exclusion,
so multiple test files are getting flagged. This change
blocks version 1.6.0 while this issue is fixed for 1.6.1.
This change also caps sphinx at <2.0.0 for python version 2.7.
Change-Id: I5d32d835886360522af21f735c74b2f85036f7f1
|
|
|
|
|
|
|
| |
python-memcached==1.56 causes the unit tests to fail under python3.7, so
bump to the latest allowed by upper-constraints.
Change-Id: I22a596afcb6b7477f6753ea9896f7ac025be3a85
|
|
|
|
|
|
|
|
|
|
| |
As part of removing reliance on the old and deprecated zuul-cloner, we
need to shift constraints declaration to the deps line. This means we
unfortunately have to duplicate the extras declarations into
test-requirements - because otherwise the contraints for
keystonemiddleware conflicts with the installation of itself.
Change-Id: I8dbb31d1c1fda6df386f456dcf1d8bbed6d168ce
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html
Co-Authored-By: Nguyen Hai <nguyentrihai93@gmail.com>
Change-Id: Ia0a27229f09467980ff4af014001febb017bb36d
|
|/
|
|
|
|
|
|
|
|
| |
We already switched the unit tests to follow the updated PTI
guidelines[1] but neglected to switch the coverage environment. Do that
now.
[1] https://governance.openstack.org/tc/reference/pti/python.html#python-test-running
Change-Id: Ie153516196f18c030ea58e76a0eac15c86169c6b
|
|
|
|
| |
Change-Id: I71330bf5adcdd55a1a782189a29886f9189dddd0
|
|
|
|
| |
Change-Id: Ia31fc31bd33e85622a15bc383cf1bb7af753de7e
|
|
|
|
| |
Change-Id: I6effa91e130eaf7ebdf30dd36e1c486e2f36df07
|
|
|
|
|
|
|
|
|
|
|
| |
With the new way of generating docs in the gate[1] our autodoc builds
are slightly broken. Put the required dependencies for doc building and
autodoc generation into doc/requirements.txt. We can also now remove
docs-related requirements from test-requirements.txt.
[1] http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
Change-Id: Ifbd16fe364bb216821125c70bb7d3ab0ac1f10a3
|
|
|
|
| |
Change-Id: I193865cda77ca1e22495b01ea602ebb28a912a8a
|
|
|
|
| |
Change-Id: I8f3fb853bf358db8fe01427d57b0823f5e3d82c0
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
doc8 is a linter for documents and used in openstack-manuals.
It is better to enforce document linters for simple checking.
This change is to add doc8 in tox file and fix line too long
in some files.
The current rules are as bellow:
- invalid rst format - D000
- lines should not be longer than 79 characters - D001
- RST exception: line with no whitespace except in the beginning
- RST exception: lines with http or https urls
- RST exception: literal blocks
- RST exception: rst target directives
- no trailing whitespace - D002
- no tabulation for indentation - D003
- no carriage returns (use unix newlines) - D004
- no newline at end of file - D005
Change-Id: I01b11619b42eebf13cb17e1b4a2e8464a8ccc797
|
|/
|
|
| |
Change-Id: I83f38668dcc15e5e884c8928047537c8b1a19bd3
|
|
|
|
| |
Change-Id: I15c7eed7a39f8ed7c5d8e18e4083979870cdfbb8
|
|
|
|
|
|
|
|
|
| |
As part of the docs migration work[0] for Pike we need to switch to use
the openstackdocstheme.
[0]https://review.openstack.org/#/c/472275/
Change-Id: I5150a456df75d61035a6f00366fa70bd4ec83457
|
|
|
|
| |
Change-Id: I119fbce30d448bcda1be5da1122922b1ea5c3b57
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The pycrypto library is unmaintained, and keystonemiddleware currently
uses pycrypto to encrypt and decrpyt things before caching them.
This patch set removes the pycrypto dependency and updates the code
to use the cryptography library. See [1]. Replacing the cryptographic
library is backward compatible. See [2].
[1] http://lists.openstack.org/pipermail/openstack-dev/2017-March/113568.html
[2] http://paste.openstack.org/show/610186/
Change-Id: Iced7f5115e49ccf4f7f5bf6813cb5988b95c248b
Closes-Bug: #1677308
|
|/
|
|
| |
Change-Id: I112a32382d16a64ed8a814d23ed2d40062151605
|
|
|
|
| |
Change-Id: I5a9e67d2ded7ac9b9079ffbfcf30c03f442e3c24
|
|
|
|
| |
Change-Id: I5c42ec052c4b8f6a3cabc5e2456b1aacc322e479
|
|
|
|
| |
Change-Id: Id74368e2b0b7421c2cc1ad498a008b33df38f39a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit switches the tox command to use ostestr instead of calling
testr through setup.py. The primary advantage here is that it uses the
subunit-trace output filter. ostestr primarily exists as a replacement for
pretty_tox.sh bash scripts which spread like a plague through OpenStack
projects after Nova copied it from Tempest.
Note that this dramatically increases output while running tests.
However, test failures are still at the bottom of the output, so it
shouldn't cause much pain, if any.
Change-Id: Id1ad26bc9670efa94c3c91142a177c75a12ce7d6
|
|
|
|
| |
Change-Id: I5381a3354994e7398be705d8c3783d464aabbb9a
|
|
|
|
|
|
|
| |
See:
http://lists.openstack.org/pipermail/openstack-dev/2016-December/108742.html
Change-Id: Ied3c922b8bbb52a3589c2f5308ecf87fc1415fbc
|
|
|
|
| |
Change-Id: I506b5036961fef7645c2010bef090f2b4b098189
|
|
|
|
| |
Change-Id: Ic4b6ab9857311a4f9efc111dd2cfc32fc6f76fd0
|
|
|
|
| |
Change-Id: I381ccea9500b3cfdd81ed54c29a02fd33345c07e
|
|
|
|
|
|
|
|
|
|
|
|
| |
Audit middleware does a lot of faking up environments and calling
methods instead of just running the middleware. It's a whole bunch
easier to just run the middleware wherever possible.
This means we don't have to stub context from tests as these tests
actually pass through the wsgi layer correctly. Ideally we would do more
of this.
Change-Id: I95377f030b07ffae18698ecc3c82cc6aa1dddbc7
|
|
|
|
| |
Change-Id: I136d82a940047057049c83b36990dededc4f18f5
|
|
|
|
| |
Change-Id: I4b38ccb5b0dcd87cc64390d9c3724fb68988982b
|
|
|
|
| |
Change-Id: I017e73cb5cc694ffe01b64d0bde2db21313532b4
|
|
|
|
| |
Change-Id: Iae85a4cdec8085d1f86806df44351d183ec1b4b5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Install the oslo.messaging optional dependency by doing:
keystonemiddleware[audit_notifications]
pbr documentation:
http://docs.openstack.org/developer/pbr/#environment-markers
Partial-Bug: 1540115
Change-Id: I59eea1f7eb0e770ac4fe30211eff49ae76fb2550
|
|
|
|
| |
Change-Id: Iba1e77fbc1ab60426207c15e463e7ebd4f02d40e
|
|
|
|
| |
Change-Id: Ica548a437fd192539daf1a7bc6b60e2796d35466
|
|
|
|
| |
Change-Id: Ibdb8afed4820b6cc98f200bfc1d379c1ec8fb2d7
|
|
|
|
| |
Change-Id: I13fed05c4fe82f9f454f22f57d29770835e76f52
|
|
|
|
| |
Change-Id: Idf43817cf80ab45660f29b035ca10816499e27df
|
|
|
|
| |
Change-Id: If9c7f08f67f89df318cdef7c6e9d2155c9a89f71
|
|
|
|
| |
Change-Id: I408ee7022a4886428fbdea8547669535995919e8
|
|
|
|
| |
Change-Id: Id0ba6b6495056dc10a57cc56eb7a56650878ad9e
|
|
|
|
| |
Change-Id: I41f455445389f49403e34a0c7612329a945072a0
|