Skip to content

Commit cbf805f

Browse files
committed
Ensure type-linting with return type.
1 parent 40d8996 commit cbf805f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/install/test_install_dashboards.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def test_installation_recreates_trashed_lakeview_dashboard(caplog, ws, workspace
129129
[MockInstallation({'state.json': {'resources': {'dashboards': {"assessment_main": "lakeview_id"}}}})],
130130
indirect=True,
131131
)
132-
def test_installation_recovers_invalid_dashboard_invalidparametervalue(caplog, ws, workspace_installation):
132+
def test_installation_recovers_invalid_dashboard_invalidparametervalue(caplog, ws, workspace_installation) -> None:
133133
ws.lakeview.get.side_effect = InvalidParameterValue
134134
with caplog.at_level(logging.DEBUG, logger="databricks.labs.ucx.install"):
135135
workspace_installation.run()
@@ -145,7 +145,7 @@ def test_installation_recovers_invalid_dashboard_invalidparametervalue(caplog, w
145145
[MockInstallation({'state.json': {'resources': {'dashboards': {"assessment_main": "lakeview_id"}}}})],
146146
indirect=True,
147147
)
148-
def test_installation_recovers_invalid_dashboard_notfound(caplog, ws, workspace_installation):
148+
def test_installation_recovers_invalid_dashboard_notfound(caplog, ws, workspace_installation) -> None:
149149
ws.lakeview.get.side_effect = NotFound
150150
with caplog.at_level(logging.DEBUG, logger="databricks.labs.ucx.install"):
151151
workspace_installation.run()

0 commit comments

Comments
 (0)