Skip to content

Commit cf9bd1f

Browse files
smsearcybbc2
authored andcommitted
Deleted some temporary files that CLI tests were creating.
1 parent f9863d3 commit cf9bd1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_cli.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ def test_run(cli):
255255
dotenv.set_key(dotenv_path, 'FOO', 'BAR')
256256
result = sh.dotenv('run', 'printenv', 'FOO').strip()
257257
assert result == 'BAR'
258+
sh.rm(dotenv_path)
258259

259260

260261
def test_run_with_other_env(cli):
@@ -265,6 +266,7 @@ def test_run_with_other_env(cli):
265266
sh.dotenv('--file', DOTENV_FILE, 'set', 'FOO', 'BAR')
266267
result = sh.dotenv('--file', DOTENV_FILE, 'run', 'printenv', 'FOO').strip()
267268
assert result == 'BAR'
269+
sh.rm(DOTENV_FILE)
268270

269271

270272
def test_run_without_cmd(cli):

0 commit comments

Comments
 (0)