We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55f59ce commit 91b64f4Copy full SHA for 91b64f4
tests/core/test_context.py
@@ -2778,7 +2778,7 @@ def test_defaults_pre_post_statements(tmp_path: Path):
2778
# Verify statements are in the model and python environment has been popuplated
2779
assert len(model.pre_statements) == 2
2780
assert len(model.post_statements) == 1
2781
- assert model.python_env["__sqlmesh__vars__"].payload == "{'var1': 4}"
+ assert model.python_env[c.SQLMESH_VARS].payload == "{'var1': 4}"
2782
2783
# Verify the statements contain the expected SQL
2784
assert model.pre_statements[0].sql() == "SET memory_limit = '10GB'"
0 commit comments