mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-10 19:57:09 +03:00
Reformat test file
This commit is contained in:
parent
09790ee8fb
commit
6f88fe6b4f
|
@ -167,7 +167,9 @@ def test_black_passes(cookies, context_override):
|
||||||
result = cookies.bake(extra_context=context_override)
|
result = cookies.bake(extra_context=context_override)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
sh.black("--check", "--diff", "--exclude", "migrations", _cwd=str(result.project))
|
sh.black(
|
||||||
|
"--check", "--diff", "--exclude", "migrations", _cwd=str(result.project)
|
||||||
|
)
|
||||||
except sh.ErrorReturnCode as e:
|
except sh.ErrorReturnCode as e:
|
||||||
pytest.fail(e.stdout.decode())
|
pytest.fail(e.stdout.decode())
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user