File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1010
1111
1212def test_command_templating ():
13- command = Command ("{infile}" , "{ outdir}" , "{inpath},{outdir}" )
13+ command = Command ("{outdir}" , "{inpath},{outdir}" )
1414 cmdline = command ._make_extract_command (
1515 Path ("inputdir" ) / "input.file" , Path ("output" )
1616 )
1717
18- assert cmdline == ["input" , " output" , "inputdir/input.file,output" ]
18+ assert cmdline == ["output" , "inputdir/input.file,output" ]
1919
2020
2121@pytest .mark .parametrize (
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ def no_op():
6868 cleanup ()
6969
7070 def _make_extract_command (self , inpath : Path , outdir : Path ):
71- replacements = dict (inpath = inpath , outdir = outdir , infile = inpath . stem )
71+ replacements = dict (inpath = inpath , outdir = outdir )
7272
7373 args = []
7474 for t in self ._command_template :
You can’t perform that action at this time.
0 commit comments