Trying harder

This commit is contained in:
Michael Lazar
2017-09-06 01:21:23 -04:00
parent 77a3557edd
commit 9631521805

View File

@@ -30,7 +30,7 @@ else:
@mock.patch.dict(os.environ, {'BROWSER': 'safari'}) @mock.patch.dict(os.environ, {'BROWSER': 'safari'})
@mock.patch('sys.platform', 'darwin') @mock.patch('sys.platform', 'darwin')
@mock_isfile @mock_isfile
def test_patch_webbrowser(which, isfile): def test_patch_webbrowser(*_):
# Make sure that webbrowser re-generates the browser list using the # Make sure that webbrowser re-generates the browser list using the
# mocked environment # mocked environment