Skip to content

Commit

Permalink
Temp skip ssl error test
Browse files Browse the repository at this point in the history
Temp skipping this test due to a change [undocumented?] in the way the requests ssl error sample website is handled.  See: http://docs.python-requests.org/en/master/user/advanced/#ssl-cert-verification
  • Loading branch information
donnemartin committed Jun 10, 2016
1 parent 46060cf commit 02b4e09
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_web_viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,14 @@ def test_view_url(self, mock_click_echo_via_pager):
self.github.web_viewer.view_url(url)
assert mock_click_echo_via_pager.mock_calls

@unittest.skip('Skipping test_view_url_ssl_error')
@mock.patch('gitsome.github.click.echo_via_pager')
def test_view_url_ssl_error(self, mock_click_echo_via_pager):
"""Temp skipping this test due to a change [undocumented?] in the way
the requests ssl error sample website is handled:
http://docs.python-requests.org/en/master/user/advanced/#ssl-cert-verification # NOQA
See https://github.com/donnemartin/gitsome/pull/64 for more details.
"""
url = 'https://requestb.in'
self.github.web_viewer.view_url(url)
mock_click_echo_via_pager.assert_called_with(ssl_error, None)

0 comments on commit 02b4e09

Please sign in to comment.