File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,18 +22,18 @@ def test_app_missing_argument(capfd):
2222
2323
2424def test_app_template_not_found (capfd ):
25- sys .argv = ['index_generator' , '--template' , '/tmp /not_existed' , '.' ]
25+ sys .argv = ['index_generator' , '--template' , '. /not_existed' , '.' ]
2626 main ()
2727 out , _ = capfd .readouterr ()
2828 assert 'IndexGeneratorTemplateNotFound' in out
29- sys .argv = ['index_generator' , '-T' , '/tmp /not_existed' , '.' ]
29+ sys .argv = ['index_generator' , '-T' , '. /not_existed' , '.' ]
3030 main ()
3131 out , _ = capfd .readouterr ()
3232 assert 'IndexGeneratorTemplateNotFound' in out
3333
3434
3535def test_app_path_not_exists (capfd ):
36- sys .argv = ['index_generator' , '/tmp /not_existed' ]
36+ sys .argv = ['index_generator' , '. /not_existed' ]
3737 main ()
3838 out , _ = capfd .readouterr ()
3939 assert 'IndexGeneratorPathNotExists' in out
You can’t perform that action at this time.
0 commit comments