mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
Use test name for the custom macros testing: (#10695)
: Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
This commit is contained in:
@@ -35,7 +35,7 @@ def DATE(
|
||||
class CustomPrestoTemplateProcessor(PrestoTemplateProcessor):
|
||||
"""A custom presto template processor for test."""
|
||||
|
||||
engine = "presto"
|
||||
engine = "db_for_macros_testing"
|
||||
|
||||
def process_template(self, sql: str, **kwargs) -> str:
|
||||
"""Processes a sql template with $ style macro using regex."""
|
||||
|
||||
Reference in New Issue
Block a user