Add qapp for tabbed_browser_stubs
This commit is contained in:
parent
46cfd5353d
commit
2a4f10f0f5
@ -279,7 +279,7 @@ def session_manager_stub(stubs):
|
|||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def tabbed_browser_stubs(stubs, win_registry):
|
def tabbed_browser_stubs(qapp, stubs, win_registry):
|
||||||
"""Fixture providing a fake tabbed-browser object on win_id 0 and 1."""
|
"""Fixture providing a fake tabbed-browser object on win_id 0 and 1."""
|
||||||
win_registry.add_window(1)
|
win_registry.add_window(1)
|
||||||
stubs = [stubs.TabbedBrowserStub(), stubs.TabbedBrowserStub()]
|
stubs = [stubs.TabbedBrowserStub(), stubs.TabbedBrowserStub()]
|
||||||
|
Loading…
Reference in New Issue
Block a user