Skip to content

Commit e293438

Browse files
DOTENV_AUTOLOAD_DISABLED= is False
This is something that could be debated so adding an explicit test for it is worthwhile
1 parent ff8510e commit e293438

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ def test_load_dotenv_disabled(dotenv_path, flag_value):
275275
@pytest.mark.parametrize(
276276
"flag_value",
277277
[
278+
"",
278279
"false",
279280
"no",
280281
"0",
@@ -309,7 +310,6 @@ def test_load_dotenv_doesnt_disable_itself(dotenv_path):
309310
assert os.environ == {"DOTENV_AUTOLOAD_DISABLED": "true"}
310311

311312

312-
313313
def test_load_dotenv_no_file_verbose():
314314
logger = logging.getLogger("dotenv.main")
315315

0 commit comments

Comments
 (0)