From 3ab5f5b84ce4f3ec2cee492a0c16a134a8304d4b Mon Sep 17 00:00:00 2001 From: Cor Zuurmond Date: Mon, 21 Oct 2024 16:38:25 +0200 Subject: [PATCH] Rename variables --- tests/integration/queries/test_migration_progress.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/integration/queries/test_migration_progress.py b/tests/integration/queries/test_migration_progress.py index bfdebeb1b7..3ecec1cc1b 100644 --- a/tests/integration/queries/test_migration_progress.py +++ b/tests/integration/queries/test_migration_progress.py @@ -228,12 +228,12 @@ def schema_populated( @pytest.fixture() def dashboard_metadata(schema_populated: SchemaInfo) -> DashboardMetadata: - migration_progress_dashboard_path = find_project_root(__file__) / "src/databricks/labs/ucx/queries/progress" - dashboard_metadata = DashboardMetadata.from_path(migration_progress_dashboard_path).replace_database( + dashboard_path = find_project_root(__file__) / "src/databricks/labs/ucx/queries/progress" + metadata = DashboardMetadata.from_path(dashboard_path).replace_database( database=schema_populated.full_name, database_to_replace="multiworkspace" ) - dashboard_metadata.validate() - return dashboard_metadata + metadata.validate() + return metadata def test_migration_progress_dashboard(