diff --git a/tests/test_cli.py b/tests/test_cli.py index a719e195..a2784ffe 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -32,7 +32,7 @@ def test_list( dotenv_path.write_text(content + "\n") args = ["--file", dotenv_path, "list"] - if format is not None: + if output_format is not None: args.extend(["--format", output_format]) result = cli.invoke(dotenv_cli, args)