Skip to content

Commit 88598ff

Browse files
author
Saurabh Kumar
committed
Add tests
1 parent 9045e6a commit 88598ff

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_cli.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ def test_unset():
8888
assert stored_value == 'WORLD'
8989
success, key_to_unset = dotenv.unset_key(dotenv_path, 'HELLO')
9090
assert dotenv.get_key(dotenv_path, 'HELLO') is None
91+
success, key_to_unset = dotenv.unset_key(dotenv_path, 'RANDOM')
92+
assert success is None
9193
sh.rm(dotenv_path)
9294
success, key_to_unset = dotenv.unset_key(dotenv_path, 'HELLO')
9395
assert success is None

0 commit comments

Comments
 (0)