@@ -55,7 +55,7 @@ def test_versioned_python_hook(tmpdir_factory, store):
5555def test_run_a_node_hook (tmpdir_factory , store ):
5656 _test_hook_repo (
5757 tmpdir_factory , store , 'node_hooks_repo' ,
58- 'foo' , [], 'Hello World\n ' ,
58+ 'foo' , ['/dev/null' ], 'Hello World\n ' ,
5959 )
6060
6161
@@ -73,7 +73,7 @@ def test_run_versioned_node_hook(tmpdir_factory, store):
7373def test_run_a_ruby_hook (tmpdir_factory , store ):
7474 _test_hook_repo (
7575 tmpdir_factory , store , 'ruby_hooks_repo' ,
76- 'ruby_hook' , [], 'Hello world from a ruby hook\n ' ,
76+ 'ruby_hook' , ['/dev/null' ], 'Hello world from a ruby hook\n ' ,
7777 )
7878
7979
@@ -82,15 +82,17 @@ def test_run_a_ruby_hook(tmpdir_factory, store):
8282def test_run_versioned_ruby_hook (tmpdir_factory , store ):
8383 _test_hook_repo (
8484 tmpdir_factory , store , 'ruby_1_9_3_hooks_repo' ,
85- 'ruby_hook' , [], '1.9.3\n 484\n Hello world from a ruby hook\n ' ,
85+ 'ruby_hook' ,
86+ ['/dev/null' ],
87+ '1.9.3\n 484\n Hello world from a ruby hook\n ' ,
8688 )
8789
8890
8991@pytest .mark .integration
9092def test_system_hook_with_spaces (tmpdir_factory , store ):
9193 _test_hook_repo (
9294 tmpdir_factory , store , 'system_hook_with_spaces_repo' ,
93- 'system-hook-with-spaces' , [], 'Hello World\n ' ,
95+ 'system-hook-with-spaces' , ['/dev/null' ], 'Hello World\n ' ,
9496 )
9597
9698
0 commit comments