mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Remove Runner.cmd_runner and Store.cmd_runner
This commit is contained in:
parent
95c3afacda
commit
6141c419ee
8 changed files with 65 additions and 120 deletions
|
|
@ -133,9 +133,3 @@ def test_pre_push_path(in_tmpdir):
|
|||
runner = Runner(path, C.CONFIG_FILE)
|
||||
expected_path = os.path.join(path, '.git', 'hooks', 'pre-push')
|
||||
assert runner.pre_push_path == expected_path
|
||||
|
||||
|
||||
def test_cmd_runner(mock_out_store_directory):
|
||||
runner = Runner(os.path.join('foo', 'bar'), C.CONFIG_FILE)
|
||||
ret = runner.cmd_runner
|
||||
assert ret.prefix_dir == os.path.join(mock_out_store_directory) + os.sep
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue