Skip to content

Commit

Permalink
Added detailed info to test_template test function docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
mandeep committed May 17, 2017
1 parent b40b2dd commit 4547f7b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ def context():


def test_template(cookies, context):
"""Test the template for proper creation."""
"""Test the template for proper creation.
cookies is a fixture provided by the pytest-cookies
plugin. Its bake() method creates a temporary directory
and installs the cookiecutter template into that directory.
"""
result = cookies.bake(extra_context=context)

assert result.exit_code == 0
Expand Down

0 comments on commit 4547f7b

Please sign in to comment.