Merge "Assert style fix"
This commit is contained in:
commit
2c9fbd8c00
@ -94,7 +94,7 @@ class JSONErrorHookTestCase(base.BaseTestCase):
|
||||
exc = mock.Mock(spec=webob.exc.HTTPRedirection)
|
||||
hook = app.JSONErrorHook()
|
||||
result = hook.on_error(mock.Mock(), exc)
|
||||
self.assertEqual(result, None)
|
||||
self.assertIsNone(result)
|
||||
|
||||
@mock.patch.object(webob, 'Response')
|
||||
def test_on_error_with_other_exceptions(self, response):
|
||||
|
1
tox.ini
1
tox.ini
@ -70,6 +70,7 @@ commands = python setup.py build_sphinx {posargs}
|
||||
# E125 continuation line does not distinguish itself from next logical line
|
||||
# H404 multi line docstring should start with a summary
|
||||
ignore = E125,H404
|
||||
enable-extensions = H203
|
||||
show-source = true
|
||||
builtins = _
|
||||
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools,build
|
||||
|
Loading…
x
Reference in New Issue
Block a user