[tests] Adjust for widget hiding

This commit is contained in:
tobi-wan-kenobi 2021-03-13 20:44:36 +01:00
parent 9f89e3a657
commit 38613495f2

View file

@ -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