diff options
author | Bernhard M. Wiedemann <bwiedemann@suse.de> | 2019-02-28 14:06:22 +0100 |
---|---|---|
committer | Guang Yee <guang.yee@suse.com> | 2020-01-13 17:27:27 -0800 |
commit | bcc00a10a6a5e42f261ad88feaec8019d68f25f8 (patch) | |
tree | 09d1976b3c0a0d35102036d6bbdc763505b750d0 /.zuul.yaml | |
parent | 8721061b112e76035da1f1588183cf74f9132c8e (diff) | |
download | python-keystoneclient-stable/pike.tar.gz |
Make tests pass in 2020pike-eolstable/pike
Without this patch, build failed after 2019-12-31 with
Traceback (most recent call last):
File "keystoneclient/tests/unit/v3/test_auth.py", line 226, in test_authenticate_success_password_unscoped
self.assertRequestBodyIs(json=self.TEST_REQUEST_BODY)
File "keystoneclient/tests/unit/utils.py", line 72, in assertRequestBodyIs
self.assertEqual(json, val)
NOTE: in addition to the orginal backport, this patch adds the following
changes. The changes has to be combined into a single patch in order to
avoid circular dependencies.
1. fixed bandit complains in keystoneclient/common/cms.py. The literal 'sha256'
is the default hash algorithm, not a sensitive password. Marking it as false
positive so bandit can stop chirping.
2. combined with cherry pick from commit
f2d3fec9b254f9c47e97ddf48e3c5f7614b87f1b to avoid circular dependency. Without
combining them, neither backport will pass all the gates since pep8 has
switched over to use python3 now.
3. combined with cherry pick from commit
b29f478f28c4989156cfe87392cbd308e3f55c1e to avoid circular dependency. Without
combining them, neither backport will pass all the gates since bandit will
have a false positive on the hash algorithm.
Change-Id: I0e44d9896c5970f0ca07438c372aec826aeb5c77
(cherry picked from commit f2d3fec9b254f9c47e97ddf48e3c5f7614b87f1b)
(cherry picked from commit acc21ff06154e16de16583fe6994207d689ed054)
(cherry picked from commit b29f478f28c4989156cfe87392cbd308e3f55c1e)
(cherry picked from commit 9da2e0bdd83d481091814a8c6f40ab3ff39ffa9c)
Diffstat (limited to '.zuul.yaml')
0 files changed, 0 insertions, 0 deletions