Skip to content

Commit

Permalink
Merge pull request #970 from projectsyn/fix/update-template-tests
Browse files Browse the repository at this point in the history
Adjust component template tests to allow additional Cookiecutter context keys
  • Loading branch information
simu authored May 27, 2024
2 parents 5469d07 + 9519bc9 commit faad243
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 faad243

Please sign in to comment.