Trying harder
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user