Skip to content

Commit c5b431f

Browse files
committed
Fix test
1 parent 16f3e04 commit c5b431f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/core/test_model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11046,15 +11046,15 @@ def entrypoint(
1104611046
assert customer1_model.enabled
1104711047
assert "blueprints" not in customer1_model.all_fields()
1104811048
assert customer1_model.python_env.get(c.SQLMESH_BLUEPRINT_VARS) == Executable.value(
11049-
{"customer": "customer1", "field_a": "x", "field_b": "y", "min": 5}
11049+
{"customer": "customer1", "field_a": "x", "field_b": "y"}
1105011050
)
1105111051

1105211052
# Test second blueprint
1105311053
customer2_model = models.get('"memory"."customer2"."some_table"')
1105411054
assert customer2_model is not None
1105511055
assert customer2_model.cron == "*/10 * * * *"
1105611056
assert customer2_model.python_env.get(c.SQLMESH_BLUEPRINT_VARS) == Executable.value(
11057-
{"customer": "customer2", "field_a": "z", "field_b": "w", "min": 10}
11057+
{"customer": "customer2", "field_a": "z", "field_b": "w"}
1105811058
)
1105911059

1106011060
# Test that the models can be planned and applied

0 commit comments

Comments
 (0)