Skip to content

Commit

Permalink
Add necessary macros to schema test context namespace [#3229] [#3240]
Browse files Browse the repository at this point in the history
automatic commit by git-black, original commits:
  1c634af
  6c6649f
  • Loading branch information
gshank authored and iknox-fa committed Feb 8, 2022
1 parent 83dd421 commit 655d676
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/dbt/context/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1403,8 +1403,7 @@ def _build_test_namespace(self):
depends_on_macros.extend(lookup_macro.depends_on.macros)

macro_namespace = TestMacroNamespace(
self.macro_resolver, self._ctx, self.model, self.thread_ctx,
depends_on_macros
self.macro_resolver, self._ctx, self.model, self.thread_ctx, depends_on_macros
)
self.namespace = macro_namespace

Expand Down

0 comments on commit 655d676

Please sign in to comment.