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
no test named 'None' #520
Comments
Use lowercase Jinja's Useful side-note: Jinja also uses lowercase for |
Thanks @ThiefMaster. I'm still pretty new to |
3 tasks
2 tasks
bibliotechy
pushed a commit
to tulibraries/ansible-role-airflow
that referenced
this issue
Jun 10, 2020
ansible when evaluates the statement as jinja, and jinja "is" is not the same as Python "is". In the words of President CLinton, it depends when the definition of "is" is. More info in pallets/jinja#520
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Running into an issue where using a template like this
{{"" if np is None else np}}
, I get the following exceptionjinja2.exceptions.TemplateAssertionError: no test named 'None'
. Trying withis not
has similar problems.The text was updated successfully, but these errors were encountered: