Use test name for the custom macros testing: (#10695)

:

Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
This commit is contained in:
Bogdan
2020-08-27 13:12:24 -07:00
committed by GitHub
parent 7abdf53944
commit 6ed36552e6
4 changed files with 16 additions and 32 deletions

View File

@@ -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."""