Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ def test_run(cli):
dotenv.set_key(dotenv_path, 'FOO', 'BAR')
result = sh.dotenv('run', 'printenv', 'FOO').strip()
assert result == 'BAR'
sh.rm(dotenv_path)


def test_run_with_other_env(cli):
Expand All @@ -218,6 +219,7 @@ def test_run_with_other_env(cli):
sh.dotenv('--file', DOTENV_FILE, 'set', 'FOO', 'BAR')
result = sh.dotenv('--file', DOTENV_FILE, 'run', 'printenv', 'FOO').strip()
assert result == 'BAR'
sh.rm(DOTENV_FILE)


def test_run_without_cmd(cli):
Expand Down