Skip to content

Commit 00e1e9d

Browse files
committed
Fix tests
1 parent 3b62334 commit 00e1e9d

3 files changed

Lines changed: 9 additions & 9 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
@@ -6334,13 +6334,13 @@ def plan_with_output(ctx: Context, environment: str):
63346334
assert "Differences from the `prod` environment" in output.stdout
63356335

63366336
assert (
6337-
"""MODEL (
6338-
name test.a,
6339-
+ owner test,
6340-
kind FULL
6341-
)
6342-
SELECT
6343-
- 5 AS col
6337+
"""MODEL (
6338+
name test.a,
6339+
+ owner test,
6340+
kind FULL
6341+
)
6342+
SELECT
6343+
- 5 AS col
63446344
+ 10 AS col"""
63456345
in output.stdout
63466346
)

tests/core/test_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2268,7 +2268,7 @@ def test_test_output(tmp_path: Path) -> None:
22682268
----------------------------------------------------------------------
22692269
AssertionError: Data mismatch (exp: expected, act: actual)
22702270
2271-
num_orders
2271+
num_orders
22722272
exp act
22732273
1 2.0 1.0
22742274

0 commit comments

Comments
 (0)