You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(tests): streamline print statements for query results
- Simplified print statements in `test_model_code_change.py` and `test_models.py` by removing unnecessary line breaks and parentheses.
- Enhanced readability of SQL query outputs while maintaining original functionality.
- Improved consistency in formatting across test functions.
f"intermediate_model_1 after first model change to upstream model: {
136
-
(
137
-
sample_sqlmesh_test_context.query(
138
-
'SELECT * FROM sqlmesh_example__dev.intermediate_model_1',
139
-
return_df=True,
140
-
)
141
-
)
142
-
}"
121
+
f"intermediate_model_1 after first model change to upstream model: {sample_sqlmesh_test_context.query('SELECT * FROM sqlmesh_example__dev.intermediate_model_1', return_df=True)}"
143
122
)
144
-
145
123
print(
146
-
f"full_model after first model change to upstream model: {
147
-
(
148
-
sample_sqlmesh_test_context.query(
149
-
'SELECT * FROM sqlmesh_example__dev.full_model',
150
-
return_df=True,
151
-
)
152
-
)
153
-
}"
124
+
f"full_model after first model change to upstream model: {sample_sqlmesh_test_context.query('SELECT * FROM sqlmesh_example__dev.full_model', return_df=True)}"
0 commit comments