@@ -20,7 +20,7 @@ def test_list_non_existent_file(cli):
2020 result = cli .invoke (dotenv_cli , ['--file' , 'nx_file' , 'list' ])
2121
2222 assert result .exit_code == 2 , result .output
23- assert ' Invalid value for "-f"' in result .output
23+ assert " Invalid value for '-f'" in result .output
2424
2525
2626def test_list_no_file (cli ):
@@ -48,7 +48,7 @@ def test_get_no_file(cli):
4848 result = cli .invoke (dotenv_cli , ['--file' , 'nx_file' , 'get' , 'a' ])
4949
5050 assert result .exit_code == 2
51- assert ' Invalid value for "-f"' in result .output
51+ assert " Invalid value for '-f'" in result .output
5252
5353
5454def test_unset_existing_value (cli , dotenv_file ):
@@ -97,7 +97,7 @@ def test_set_no_file(cli):
9797 result = cli .invoke (dotenv_cli , ["--file" , "nx_file" , "set" ])
9898
9999 assert result .exit_code == 2
100- assert ' Invalid value for "-f"' in result .output
100+ assert " Invalid value for '-f'" in result .output
101101
102102
103103def test_get_default_path (tmp_path ):
@@ -145,14 +145,14 @@ def test_run_without_cmd(cli):
145145 result = cli .invoke (dotenv_cli , ['run' ])
146146
147147 assert result .exit_code == 2
148- assert ' Invalid value for "-f"' in result .output
148+ assert " Invalid value for '-f'" in result .output
149149
150150
151151def test_run_with_invalid_cmd (cli ):
152152 result = cli .invoke (dotenv_cli , ['run' , 'i_do_not_exist' ])
153153
154154 assert result .exit_code == 2
155- assert ' Invalid value for "-f"' in result .output
155+ assert " Invalid value for '-f'" in result .output
156156
157157
158158def test_run_with_version (cli ):
0 commit comments