Skip to content

Commit bf15cc1

Browse files
author
Saurabh Kumar
committed
Add test for quote in get_cli_string
1 parent 88598ff commit bf15cc1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ def test_to_cli_string():
1010
assert c(action='set', key='DEBUG', value='True') == 'dotenv set DEBUG True'
1111
assert c(action='set', key='SECRET', value='=@asdfasf') == 'dotenv set SECRET =@asdfasf'
1212
assert c(action='set', key='SECRET', value='a b') == 'dotenv set SECRET "a b"'
13+
assert c(action='set', key='SECRET', value='a b', quote="always") == 'dotenv -q always set SECRET "a b"'

0 commit comments

Comments
 (0)