yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #81865
[Bug 1858410] Re: Got error 'NoneType' when executing unittest on stable/rocky
No longer affects the reporter
** Changed in: keystone
Status: Triaged => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1858410
Title:
Got error 'NoneType' when executing unittest on stable/rocky
Status in OpenStack Identity (keystone):
Invalid
Bug description:
I use 'master' branch, all testcases of unittest are passed.
But use 'stable/rocky' branch, there are one testcase that is fail.
## log
==============================
Failed 1 tests - output below:
==============================
keystone.tests.unit.test_hacking_checks.TestBlockCommentsBeginWithASpace.test
-----------------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
b'Traceback (most recent call last):'
b' File "/home/src/keystone-master/keystone/tests/unit/test_hacking_checks.py", line 80, in test'
b' self.assert_has_errors(code, expected_errors=errors)'
b' File "/home/src/keystone-master/keystone/tests/unit/test_hacking_checks.py", line 57, in assert_has_errors'
b' actual_errors = [e[:3] for e in self.run_check(code)]'
b' File "/home/src/keystone-master/keystone/tests/unit/test_hacking_checks.py", line 52, in run_check'
b' checker.check_all()'
b' File "/home/src/keystone-master/.tox/py3/lib/python3.6/site-packages/pep8.py", line 1438, in check_all'
b' self.check_logical()'
b' File "/home/src/keystone-master/.tox/py3/lib/python3.6/site-packages/pep8.py", line 1328, in check_logical'
b' (start_row, start_col) = mapping[0][1]'
b"TypeError: 'NoneType' object is not subscriptable"
b''
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1858410/+subscriptions
References