Skip to content

Commit 32be38d

Browse files
committed
Remove trailing whitespace and shorten docstring
1 parent f4d147c commit 32be38d

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

tests/test_bake_project.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ def inside_dir(dirpath):
3333
def bake_in_temp_dir(cookies, *args, **kwargs):
3434
"""
3535
Delete the temporal directory that is created when executing the tests
36-
:param cookies: pytest_cookies.Cookies, cookie to be baked and its temporal files will be removed
36+
:param cookies: pytest_cookies.Cookies,
37+
cookie to be baked and its temporal files will be removed
3738
"""
3839
result = cookies.bake(*args, **kwargs)
3940
try:
@@ -111,7 +112,7 @@ def test_bake_with_apostrophe_and_run_tests(cookies):
111112
# # given:
112113
# with bake_in_temp_dir(cookies) as result:
113114
# project_path = str(result.project)
114-
#
115+
#
115116
# # when:
116117
# travis_setup_cmd = ('python travis_pypi_setup.py'
117118
# ' --repo audreyr/cookiecutter-pypackage --password invalidpass')
@@ -201,12 +202,12 @@ def test_not_using_pytest(cookies):
201202
# result = cookies.bake(extra_context={'project_name': 'something-with-a-dash'})
202203
# assert result.project is not None
203204
# project_path = str(result.project)
204-
#
205+
#
205206
# # when:
206207
# travis_setup_cmd = ('python travis_pypi_setup.py'
207208
# ' --repo audreyr/cookiecutter-pypackage --password invalidpass')
208209
# run_inside_dir(travis_setup_cmd, project_path)
209-
#
210+
#
210211
# # then:
211212
# result_travis_config = yaml.load(open(os.path.join(project_path, ".travis.yml")))
212213
# assert "secure" in result_travis_config["deploy"]["password"],\

0 commit comments

Comments
 (0)