fix bug in tox py test
when running tox py36/37/38 test, it failed with error MismatchError, reference in cinder [1]. [1] https://review.opendev.org/#/c/720008/ Closes-bug: #1872919 Change-Id: Ib76c8df7a435ba72cd0cffd7081d455fff02be0f
This commit is contained in:
parent
9634bfa733
commit
879f2081c6
@ -155,7 +155,7 @@ class HackingTestCase(test.TestCase):
|
||||
"climbing.", ('volume1', 500))
|
||||
"""
|
||||
self._assert_has_errors(code.format(log_method), checker,
|
||||
expected_errors=[(4, 21, 'M310')])
|
||||
expected_errors=[(4, mock.ANY, 'M310')])
|
||||
|
||||
def test_str_on_exception(self):
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user