Update tests/test_cookiecutter_generation.py

Co-Authored-By: Bruno Alla <browniebroke@users.noreply.github.com>
This commit is contained in:
Caio Ariede 2019-10-03 11:54:15 -03:00 committed by GitHub
parent 9fffafc095
commit 4f8834c0eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -169,4 +169,5 @@ def test_no_whitenoise_and_no_cloud_provider(cookies, context):
context.update({"use_whitenoise": "n", "cloud_provider": "None"}) context.update({"use_whitenoise": "n", "cloud_provider": "None"})
result = cookies.bake(extra_context=context) result = cookies.bake(extra_context=context)
assert result.exit_code == 1 assert result.exit_code != 0
assert isinstance(result.exception, FailedHookException)