Fix tests again

This commit is contained in:
Tim Bentley 2016-12-21 09:52:05 +00:00
parent a69df60978
commit 5896e053bc

View File

@ -224,8 +224,7 @@ class TestFirstTimeForm(TestCase, TestMixin):
# GIVEN: Initial setup and mocks # GIVEN: Initial setup and mocks
first_time_form = FirstTimeForm(None) first_time_form = FirstTimeForm(None)
first_time_form.initialize(MagicMock()) first_time_form.initialize(MagicMock())
mocked_get_web_page.side_effect = urllib.error.HTTPError(MagicMock(), mocked_get_web_page.side_effect = urllib.error.HTTPError(url='http//localhost',
url='http//localhost',
code=407, code=407,
msg='Network proxy error', msg='Network proxy error',
hdrs=None, hdrs=None,