mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
git grep -l tmpdir_factory | xargs sed -i 's/tmpdir_factory/tempdir_factory/g'
This commit is contained in:
parent
5791d84236
commit
1dfcf10036
14 changed files with 199 additions and 199 deletions
|
|
@ -128,11 +128,11 @@ def test_no_commands_run_command(mock_commands):
|
|||
|
||||
def test_help_cmd_in_empty_directory(
|
||||
mock_commands,
|
||||
tmpdir_factory,
|
||||
tempdir_factory,
|
||||
argparse_exit_mock,
|
||||
argparse_parse_args_spy,
|
||||
):
|
||||
path = tmpdir_factory.get()
|
||||
path = tempdir_factory.get()
|
||||
|
||||
with cwd(path):
|
||||
with pytest.raises(CalledExit):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue