Fixed code style

This commit is contained in:
Michael Adkins 2019-07-09 13:48:06 -05:00
parent c148845a98
commit 02d95c033c
2 changed files with 12 additions and 3 deletions

View file

@ -231,12 +231,17 @@ def test_show_diff_on_failure(
({}, (b'Bash hook', b'Passed'), 0, True),
({'verbose': True}, (b'foo.py\nHello World',), 0, True),
({'hook': 'bash_hook'}, (b'Bash hook', b'Passed'), 0, True),
({'hook': 'nope'}, (b'No hook with id `nope` in stage `commit`',), 1, True),
(
{'hook': 'nope'},
(b'No hook with id `nope` in stage `commit`',),
1,
True,
),
(
{'hook': 'nope', 'hook_stage': 'push'},
(b'No hook with id `nope` in stage `push`',),
1,
True
True,
),
(
{'all_files': True, 'verbose': True},