Skip to content

Commit 2c00a34

Browse files
committed
Fix tests
1 parent 36cf642 commit 2c00a34

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

tests/core/engine_adapter/integration/test_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1583,7 +1583,7 @@ def _normalize_snowflake(name: str, prefix_regex: str = "(sqlmesh__)(.*)"):
15831583
k: [_normalize_snowflake(name) for name in v] for k, v in object_names.items()
15841584
}
15851585

1586-
init_example_project(tmp_path, ctx.dialect, schema_name=schema_name)
1586+
init_example_project(tmp_path, ctx.mark.split("_")[0], schema_name=schema_name)
15871587

15881588
config = load_config_from_paths(
15891589
Config,

tests/core/test_integration.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6448,13 +6448,13 @@ def plan_with_output(ctx: Context, environment: str):
64486448
assert "Differences from the `prod` environment" in output.stdout
64496449

64506450
assert (
6451-
"""MODEL (
6452-
name test.a,
6453-
+ owner test,
6454-
kind FULL
6455-
)
6456-
SELECT
6457-
- 5 AS col
6451+
"""MODEL (
6452+
name test.a,
6453+
+ owner test,
6454+
kind FULL
6455+
)
6456+
SELECT
6457+
- 5 AS col
64586458
+ 10 AS col"""
64596459
in output.stdout
64606460
)

0 commit comments

Comments
 (0)