Skip to content

Commit

Permalink
Adds new test to fixture list
Browse files Browse the repository at this point in the history
  • Loading branch information
CyclingNinja committed Dec 2, 2024
1 parent ef5181e commit 0bb9b80
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ def cookiejar_no_examples(request):

@pytest.fixture(params=["bake_examples_compiled",
"bake_examples",
"bake_examples_compiled_dev_version"])
"bake_examples_compiled_dev_version",
"bake_examples_url_extensions"])
def cookiejar_examples(request):
"""
Templates rendered with the examples
Expand Down Expand Up @@ -103,6 +104,8 @@ def bake_examples_url_extensions(cookies):
setting url parameters
"""
result = cookies.bake(extra_context={
"author_name": "test",
"include_example_code": "y",
"project_url": "https://sunpy.org",
"github_repo": "sunpy/sunpy",
"sourcecode_url": "",
Expand Down
2 changes: 1 addition & 1 deletion {{ cookiecutter.package_name }}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dynamic = ["version"]
[project.scripts]
open_astronomy_package_template_example = "{{ cookiecutter.module_name }}.example_mod:main"

{% endif %}
{%- endif %}
[project.optional-dependencies]
tests = [
"pytest",
Expand Down

0 comments on commit 0bb9b80

Please sign in to comment.