[tests] Adjust for widget hiding
This commit is contained in:
parent
9f89e3a657
commit
38613495f2
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ def module_a(mocker):
|
||||||
widget = mocker.MagicMock()
|
widget = mocker.MagicMock()
|
||||||
widget.full_text.return_value = "test"
|
widget.full_text.return_value = "test"
|
||||||
widget.id = "a"
|
widget.id = "a"
|
||||||
|
widget.hidden = False
|
||||||
return SampleModule(config=core.config.Config([]), widgets=[widget, widget, widget])
|
return SampleModule(config=core.config.Config([]), widgets=[widget, widget, widget])
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
|
|
Loading…
Reference in a new issue