Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the tests (#2317) #2318

Merged
merged 3 commits into from Apr 14, 2020
Merged

Fix the tests (#2317) #2318

merged 3 commits into from Apr 14, 2020

Commits on Apr 14, 2020

  1. Fix the tests

    This looks like a neat interplay between yaml's anchor/pointer notation (it's
    a reference, not a copy!), and dbt inserting 'model' into the keyword args for
    tests.
    
    I've added a `copy.deepcopy` call to where dbt collects test arguments from the
    underlying file, so the 'model' is inserted into a fresh keyword arguments
    dictionary.
    Jacob Beck committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    aa38c81 View commit details
    Browse the repository at this point in the history
  2. Jinja removed a keyword argument

    Since they apparently will do this in patch releases, pinnned to precisely 2.11.2
    But, it means we don't have to override NativeSandboxTemplate.render
    anymore, so that's nice
    Jacob Beck committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    626f835 View commit details
    Browse the repository at this point in the history
  3. re-add quoting logic

    Jacob Beck committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    c612167 View commit details
    Browse the repository at this point in the history