enforce max line length of 160 characters

This commit is contained in:
AlanCoding
2017-10-09 09:19:24 -04:00
parent d4af743805
commit f03b40aa50
19 changed files with 387 additions and 132 deletions

View File

@@ -156,7 +156,10 @@ class TestHostInsights():
mocker.patch.object(view, '_get_insights', return_value=Response(500, 'mock 500 err msg'))
(msg, code) = view.get_insights('https://myexample.com/whocares/me/', 'ignore', 'ignore')
assert msg['error'] == 'Failed to gather reports and maintenance plans from Insights API at URL https://myexample.com/whocares/me/. Server responded with 500 status code and message mock 500 err msg'
assert msg['error'] == (
'Failed to gather reports and maintenance plans from Insights API at URL'
' https://myexample.com/whocares/me/. Server responded with 500 status code '
'and message mock 500 err msg')
def test_get_insights_401(self, patch_parent, mocker):
view = HostInsights()