Skip to content

Chapter 7, Page 149 - Assertions tests with assert module fails #456

Description

@MrPOC

On page 149, in chapter 7, the first and second playbook presented are failing due to invalid Jinja syntax.
When trying to compare the my_color_choice with the string literal 'blue' (and '#0000ff' in the second playbook) you can't just write
my_color_choice is 'blue'
You could either replace the "is" with "==" or write my_color_choice is eq 'blue' or my_color_choice is equalto 'blue'
Hope it helps !

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions