mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-16 02:21:46 +04:00
Fix tests
This commit is contained in:
parent
9a8fb17070
commit
e21cd01a70
4 changed files with 12 additions and 6 deletions
|
|
@ -580,7 +580,6 @@ def test_install_local_ruby_hook(
|
|||
): # pragma: no cover (non-windows)
|
||||
config = config_with_local_hooks('ruby')
|
||||
config['hooks'][0]['additional_dependencies'] = ['thread_safe']
|
||||
validate_config_extra([config])
|
||||
repo = Repository.create(config, store, '/path/to/repo/')
|
||||
repo.require_installed()
|
||||
with ruby.in_env(repo.cmd_runner, 'default'):
|
||||
|
|
@ -594,7 +593,6 @@ def test_install_local_python_hook(
|
|||
): # pragma: no cover (non-windows)
|
||||
config = config_with_local_hooks('python')
|
||||
config['hooks'][0]['additional_dependencies'] = ['mccabe']
|
||||
validate_config_extra([config])
|
||||
repo = Repository.create(config, store, '/path/to/repo/')
|
||||
repo.require_installed()
|
||||
with python.in_env(repo.cmd_runner, 'default'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue