Fix build failure
This commit is contained in:
parent
94bcf90277
commit
f7d000fb55
@ -222,6 +222,7 @@ def test_browse(url, opened_url, platform):
|
|||||||
mock.patch('buku.sys') as m_sys:
|
mock.patch('buku.sys') as m_sys:
|
||||||
m_sys.platform = platform
|
m_sys.platform = platform
|
||||||
import buku
|
import buku
|
||||||
|
buku.browse.suppress_browser_output = True
|
||||||
buku.browse(url)
|
buku.browse(url)
|
||||||
m_webbrowser.open.assert_called_once_with(opened_url, new=2)
|
m_webbrowser.open.assert_called_once_with(opened_url, new=2)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user