Skip to content
Prev Previous commit
Next Next commit
DOTENV_AUTOLOAD_DISABLED= is False
This is something that could be debated so adding an explicit test for
it is worthwhile
  • Loading branch information
matthewfranglen committed Jun 24, 2025
commit e2934383300c161a81b8712158dbde75a457da23
2 changes: 1 addition & 1 deletion tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ def test_load_dotenv_disabled(dotenv_path, flag_value):
@pytest.mark.parametrize(
"flag_value",
[
"",
"false",
"no",
"0",
Expand Down Expand Up @@ -309,7 +310,6 @@ def test_load_dotenv_doesnt_disable_itself(dotenv_path):
assert os.environ == {"DOTENV_AUTOLOAD_DISABLED": "true"}



def test_load_dotenv_no_file_verbose():
logger = logging.getLogger("dotenv.main")

Expand Down