Skip to content

Commit

Permalink
Adjust component template tests to allow additional Cookiecutter cont…
Browse files Browse the repository at this point in the history
…ext keys
  • Loading branch information
simu committed May 27, 2024
1 parent 5469d07 commit 9519bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_component_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def _validate_rendered_component(
"_template",
}

assert set(cookiecutter_context.keys()) == context_keys
assert len(context_keys - set(cookiecutter_context.keys())) == 0

assert cookiecutter_context["add_matrix"] == "y" if has_matrix else "n"
assert cookiecutter_context["name"] == component_name
Expand Down

0 comments on commit 9519bc9

Please sign in to comment.