From 2967b16110c6536d719f51784efe251f1cab2f15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Fri, 29 Mar 2024 20:37:40 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Remove=20no=20longer=20needed=20env?= =?UTF-8?q?=20var=20for=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_cli/test_completion_run.py | 1 - tests/test_cli/test_sub_completion.py | 1 - tests/test_compat/test_option_get_help.py | 1 - tests/test_completion/test_completion.py | 8 -------- tests/test_completion/test_completion_complete.py | 10 ---------- .../test_completion_complete_no_help.py | 4 ---- tests/test_completion/test_completion_install.py | 4 ---- tests/test_completion/test_completion_show.py | 6 ------ tests/test_others.py | 2 -- .../test_options/test_callback/test_tutorial003.py | 1 - .../test_options/test_callback/test_tutorial003_an.py | 1 - .../test_options/test_callback/test_tutorial004.py | 1 - .../test_options/test_callback/test_tutorial004_an.py | 1 - .../test_options/test_version/test_tutorial003.py | 1 - .../test_options/test_version/test_tutorial003_an.py | 1 - .../test_options_autocompletion/test_tutorial002.py | 1 - .../test_options_autocompletion/test_tutorial002_an.py | 1 - .../test_options_autocompletion/test_tutorial003.py | 1 - .../test_options_autocompletion/test_tutorial003_an.py | 1 - .../test_options_autocompletion/test_tutorial004.py | 1 - .../test_options_autocompletion/test_tutorial004_an.py | 1 - .../test_options_autocompletion/test_tutorial007.py | 1 - .../test_options_autocompletion/test_tutorial007_an.py | 1 - .../test_options_autocompletion/test_tutorial008.py | 1 - .../test_options_autocompletion/test_tutorial008_an.py | 1 - .../test_options_autocompletion/test_tutorial009.py | 1 - .../test_options_autocompletion/test_tutorial009_an.py | 1 - 27 files changed, 55 deletions(-) diff --git a/tests/test_cli/test_completion_run.py b/tests/test_cli/test_completion_run.py index ad878f4afe..20695b9339 100644 --- a/tests/test_cli/test_completion_run.py +++ b/tests/test_cli/test_completion_run.py @@ -14,7 +14,6 @@ def test_script_completion_run(): "_PYTHON _M TYPER_COMPLETE": "complete_bash", "COMP_WORDS": "typer tests/assets/cli/sample.py", "COMP_CWORD": "2", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert "run" in result.stdout diff --git a/tests/test_cli/test_sub_completion.py b/tests/test_cli/test_sub_completion.py index 7a533693f0..0658883733 100644 --- a/tests/test_cli/test_sub_completion.py +++ b/tests/test_cli/test_sub_completion.py @@ -14,7 +14,6 @@ def test_script_completion_run(): "_PYTHON _M TYPER_COMPLETE": "complete_bash", "COMP_WORDS": "typer tests/assets/cli/sample.py run hello --", "COMP_CWORD": "4", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert "--name" in result.stdout diff --git a/tests/test_compat/test_option_get_help.py b/tests/test_compat/test_option_get_help.py index baca132cf0..362298b99a 100644 --- a/tests/test_compat/test_option_get_help.py +++ b/tests/test_compat/test_option_get_help.py @@ -48,7 +48,6 @@ def test_completion(): **os.environ, "_COMPAT_CLICK7_8.PY_COMPLETE": "complete_zsh", "_TYPER_COMPLETE_ARGS": "compat_click7_8.py --nickname ", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert "Jonny" in result.stdout diff --git a/tests/test_completion/test_completion.py b/tests/test_completion/test_completion.py index 9f5dd426db..2af209e2dc 100644 --- a/tests/test_completion/test_completion.py +++ b/tests/test_completion/test_completion.py @@ -51,7 +51,6 @@ def test_completion_invalid_instruction(): env={ **os.environ, "_TUTORIAL001.PY_COMPLETE": "sourcebash", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert result.returncode != 0 @@ -66,7 +65,6 @@ def test_completion_source_bash(): env={ **os.environ, "_TUTORIAL001.PY_COMPLETE": "source_bash", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert ( @@ -83,7 +81,6 @@ def test_completion_source_invalid_shell(): env={ **os.environ, "_TUTORIAL001.PY_COMPLETE": "source_xxx", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert "Shell xxx not supported." in result.stderr @@ -97,7 +94,6 @@ def test_completion_source_invalid_instruction(): env={ **os.environ, "_TUTORIAL001.PY_COMPLETE": "explode_bash", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert 'Completion instruction "explode" not supported.' in result.stderr @@ -111,7 +107,6 @@ def test_completion_source_zsh(): env={ **os.environ, "_TUTORIAL001.PY_COMPLETE": "source_zsh", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert "compdef _tutorial001py_completion tutorial001.py" in result.stdout @@ -125,7 +120,6 @@ def test_completion_source_fish(): env={ **os.environ, "_TUTORIAL001.PY_COMPLETE": "source_fish", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert "complete --command tutorial001.py --no-files" in result.stdout @@ -139,7 +133,6 @@ def test_completion_source_powershell(): env={ **os.environ, "_TUTORIAL001.PY_COMPLETE": "source_powershell", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert ( @@ -156,7 +149,6 @@ def test_completion_source_pwsh(): env={ **os.environ, "_TUTORIAL001.PY_COMPLETE": "source_pwsh", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert ( diff --git a/tests/test_completion/test_completion_complete.py b/tests/test_completion/test_completion_complete.py index 359768f859..ea37f68546 100644 --- a/tests/test_completion/test_completion_complete.py +++ b/tests/test_completion/test_completion_complete.py @@ -15,7 +15,6 @@ def test_completion_complete_subcommand_bash(): "_TUTORIAL001.PY_COMPLETE": "complete_bash", "COMP_WORDS": "tutorial001.py del", "COMP_CWORD": "1", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert "delete\ndelete-all" in result.stdout @@ -31,7 +30,6 @@ def test_completion_complete_subcommand_bash_invalid(): "_TUTORIAL001.PY_COMPLETE": "complete_bash", "COMP_WORDS": "tutorial001.py del", "COMP_CWORD": "42", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert "create\ndelete\ndelete-all\ninit" in result.stdout @@ -46,7 +44,6 @@ def test_completion_complete_subcommand_zsh(): **os.environ, "_TUTORIAL001.PY_COMPLETE": "complete_zsh", "_TYPER_COMPLETE_ARGS": "tutorial001.py del", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert ( @@ -64,7 +61,6 @@ def test_completion_complete_subcommand_zsh_files(): **os.environ, "_TUTORIAL001.PY_COMPLETE": "complete_zsh", "_TYPER_COMPLETE_ARGS": "tutorial001.py delete ", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert ("_files") in result.stdout @@ -80,7 +76,6 @@ def test_completion_complete_subcommand_fish(): "_TUTORIAL001.PY_COMPLETE": "complete_fish", "_TYPER_COMPLETE_ARGS": "tutorial001.py del", "_TYPER_COMPLETE_FISH_ACTION": "get-args", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert ( @@ -99,7 +94,6 @@ def test_completion_complete_subcommand_fish_should_complete(): "_TUTORIAL001.PY_COMPLETE": "complete_fish", "_TYPER_COMPLETE_ARGS": "tutorial001.py del", "_TYPER_COMPLETE_FISH_ACTION": "is-args", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert result.returncode == 0 @@ -115,7 +109,6 @@ def test_completion_complete_subcommand_fish_should_complete_no(): "_TUTORIAL001.PY_COMPLETE": "complete_fish", "_TYPER_COMPLETE_ARGS": "tutorial001.py delete ", "_TYPER_COMPLETE_FISH_ACTION": "is-args", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert result.returncode != 0 @@ -130,7 +123,6 @@ def test_completion_complete_subcommand_powershell(): **os.environ, "_TUTORIAL001.PY_COMPLETE": "complete_powershell", "_TYPER_COMPLETE_ARGS": "tutorial001.py del", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert ( @@ -147,7 +139,6 @@ def test_completion_complete_subcommand_pwsh(): **os.environ, "_TUTORIAL001.PY_COMPLETE": "complete_pwsh", "_TYPER_COMPLETE_ARGS": "tutorial001.py del", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert ( @@ -164,7 +155,6 @@ def test_completion_complete_subcommand_noshell(): **os.environ, "_TUTORIAL001.PY_COMPLETE": "complete_noshell", "_TYPER_COMPLETE_ARGS": "tutorial001.py del", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert ("") in result.stdout diff --git a/tests/test_completion/test_completion_complete_no_help.py b/tests/test_completion/test_completion_complete_no_help.py index c67c77a82b..4ac2bf98de 100644 --- a/tests/test_completion/test_completion_complete_no_help.py +++ b/tests/test_completion/test_completion_complete_no_help.py @@ -14,7 +14,6 @@ def test_completion_complete_subcommand_zsh(): **os.environ, "_TUTORIAL002.PY_COMPLETE": "complete_zsh", "_TYPER_COMPLETE_ARGS": "tutorial002.py ", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert "create" in result.stdout @@ -31,7 +30,6 @@ def test_completion_complete_subcommand_fish(): "_TUTORIAL002.PY_COMPLETE": "complete_fish", "_TYPER_COMPLETE_ARGS": "tutorial002.py ", "_TYPER_COMPLETE_FISH_ACTION": "get-args", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert "create\ndelete" in result.stdout @@ -46,7 +44,6 @@ def test_completion_complete_subcommand_powershell(): **os.environ, "_TUTORIAL002.PY_COMPLETE": "complete_powershell", "_TYPER_COMPLETE_ARGS": "tutorial002.py ", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert ("create::: \ndelete::: ") in result.stdout @@ -61,7 +58,6 @@ def test_completion_complete_subcommand_pwsh(): **os.environ, "_TUTORIAL002.PY_COMPLETE": "complete_pwsh", "_TYPER_COMPLETE_ARGS": "tutorial002.py ", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert ("create::: \ndelete::: ") in result.stdout diff --git a/tests/test_completion/test_completion_install.py b/tests/test_completion/test_completion_install.py index 7a3eac4a77..a6ad3c9f03 100644 --- a/tests/test_completion/test_completion_install.py +++ b/tests/test_completion/test_completion_install.py @@ -22,7 +22,6 @@ def test_completion_install_no_shell(): encoding="utf-8", env={ **os.environ, - "_TYPER_COMPLETE_TESTING": "True", "_TYPER_COMPLETE_TEST_DISABLE_SHELL_DETECTION": "True", }, ) @@ -48,7 +47,6 @@ def test_completion_install_bash(): encoding="utf-8", env={ **os.environ, - "_TYPER_COMPLETE_TESTING": "True", "_TYPER_COMPLETE_TEST_DISABLE_SHELL_DETECTION": "True", }, ) @@ -90,7 +88,6 @@ def test_completion_install_zsh(): encoding="utf-8", env={ **os.environ, - "_TYPER_COMPLETE_TESTING": "True", "_TYPER_COMPLETE_TEST_DISABLE_SHELL_DETECTION": "True", }, ) @@ -126,7 +123,6 @@ def test_completion_install_fish(): encoding="utf-8", env={ **os.environ, - "_TYPER_COMPLETE_TESTING": "True", "_TYPER_COMPLETE_TEST_DISABLE_SHELL_DETECTION": "True", }, ) diff --git a/tests/test_completion/test_completion_show.py b/tests/test_completion/test_completion_show.py index 5f94d50747..af4ed2a90e 100644 --- a/tests/test_completion/test_completion_show.py +++ b/tests/test_completion/test_completion_show.py @@ -21,7 +21,6 @@ def test_completion_show_no_shell(): encoding="utf-8", env={ **os.environ, - "_TYPER_COMPLETE_TESTING": "True", "_TYPER_COMPLETE_TEST_DISABLE_SHELL_DETECTION": "True", }, ) @@ -43,7 +42,6 @@ def test_completion_show_bash(): encoding="utf-8", env={ **os.environ, - "_TYPER_COMPLETE_TESTING": "True", "_TYPER_COMPLETE_TEST_DISABLE_SHELL_DETECTION": "True", }, ) @@ -68,7 +66,6 @@ def test_completion_source_zsh(): encoding="utf-8", env={ **os.environ, - "_TYPER_COMPLETE_TESTING": "True", "_TYPER_COMPLETE_TEST_DISABLE_SHELL_DETECTION": "True", }, ) @@ -90,7 +87,6 @@ def test_completion_source_fish(): encoding="utf-8", env={ **os.environ, - "_TYPER_COMPLETE_TESTING": "True", "_TYPER_COMPLETE_TEST_DISABLE_SHELL_DETECTION": "True", }, ) @@ -112,7 +108,6 @@ def test_completion_source_powershell(): encoding="utf-8", env={ **os.environ, - "_TYPER_COMPLETE_TESTING": "True", "_TYPER_COMPLETE_TEST_DISABLE_SHELL_DETECTION": "True", }, ) @@ -137,7 +132,6 @@ def test_completion_source_pwsh(): encoding="utf-8", env={ **os.environ, - "_TYPER_COMPLETE_TESTING": "True", "_TYPER_COMPLETE_TEST_DISABLE_SHELL_DETECTION": "True", }, ) diff --git a/tests/test_others.py b/tests/test_others.py index 367a8caeba..7986e1d7f0 100644 --- a/tests/test_others.py +++ b/tests/test_others.py @@ -151,7 +151,6 @@ def test_completion_untyped_parameters(): **os.environ, "_COMPLETION_NO_TYPES.PY_COMPLETE": "complete_zsh", "_TYPER_COMPLETE_ARGS": "completion_no_types.py --name Sebastian --name Ca", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert "info name is: completion_no_types.py" in result.stderr @@ -178,7 +177,6 @@ def test_completion_untyped_parameters_different_order_correct_names(): **os.environ, "_COMPLETION_NO_TYPES_ORDER.PY_COMPLETE": "complete_zsh", "_TYPER_COMPLETE_ARGS": "completion_no_types_order.py --name Sebastian --name Ca", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert "info name is: completion_no_types_order.py" in result.stderr diff --git a/tests/test_tutorial/test_options/test_callback/test_tutorial003.py b/tests/test_tutorial/test_options/test_callback/test_tutorial003.py index fe2ebd9d08..cbdaa8d094 100644 --- a/tests/test_tutorial/test_options/test_callback/test_tutorial003.py +++ b/tests/test_tutorial/test_options/test_callback/test_tutorial003.py @@ -45,7 +45,6 @@ def test_completion(): "_TUTORIAL003.PY_COMPLETE": "complete_bash", "COMP_WORDS": "tutorial003.py --", "COMP_CWORD": "1", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert "--name" in result.stdout diff --git a/tests/test_tutorial/test_options/test_callback/test_tutorial003_an.py b/tests/test_tutorial/test_options/test_callback/test_tutorial003_an.py index cb2715f02e..a80dbcd2bd 100644 --- a/tests/test_tutorial/test_options/test_callback/test_tutorial003_an.py +++ b/tests/test_tutorial/test_options/test_callback/test_tutorial003_an.py @@ -45,7 +45,6 @@ def test_completion(): "_TUTORIAL003_AN.PY_COMPLETE": "complete_bash", "COMP_WORDS": "tutorial003_an.py --", "COMP_CWORD": "1", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert "--name" in result.stdout diff --git a/tests/test_tutorial/test_options/test_callback/test_tutorial004.py b/tests/test_tutorial/test_options/test_callback/test_tutorial004.py index 68b74448f7..70f9c1d399 100644 --- a/tests/test_tutorial/test_options/test_callback/test_tutorial004.py +++ b/tests/test_tutorial/test_options/test_callback/test_tutorial004.py @@ -45,7 +45,6 @@ def test_completion(): "_TUTORIAL004.PY_COMPLETE": "complete_bash", "COMP_WORDS": "tutorial004.py --", "COMP_CWORD": "1", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert "--name" in result.stdout diff --git a/tests/test_tutorial/test_options/test_callback/test_tutorial004_an.py b/tests/test_tutorial/test_options/test_callback/test_tutorial004_an.py index b410fa7044..7756b202d6 100644 --- a/tests/test_tutorial/test_options/test_callback/test_tutorial004_an.py +++ b/tests/test_tutorial/test_options/test_callback/test_tutorial004_an.py @@ -45,7 +45,6 @@ def test_completion(): "_TUTORIAL004_AN.PY_COMPLETE": "complete_bash", "COMP_WORDS": "tutorial004_an.py --", "COMP_CWORD": "1", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert "--name" in result.stdout diff --git a/tests/test_tutorial/test_options/test_version/test_tutorial003.py b/tests/test_tutorial/test_options/test_version/test_tutorial003.py index 4287a5db0c..bcede6fc28 100644 --- a/tests/test_tutorial/test_options/test_version/test_tutorial003.py +++ b/tests/test_tutorial/test_options/test_version/test_tutorial003.py @@ -50,7 +50,6 @@ def test_completion(): "_TUTORIAL003.PY_COMPLETE": "complete_bash", "COMP_WORDS": "tutorial003.py --name Rick --v", "COMP_CWORD": "3", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert "--version" in result.stdout diff --git a/tests/test_tutorial/test_options/test_version/test_tutorial003_an.py b/tests/test_tutorial/test_options/test_version/test_tutorial003_an.py index 3081cb440f..5ccf2c922a 100644 --- a/tests/test_tutorial/test_options/test_version/test_tutorial003_an.py +++ b/tests/test_tutorial/test_options/test_version/test_tutorial003_an.py @@ -50,7 +50,6 @@ def test_completion(): "_TUTORIAL003_AN.PY_COMPLETE": "complete_bash", "COMP_WORDS": "tutorial003_an.py --name Rick --v", "COMP_CWORD": "3", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert "--version" in result.stdout diff --git a/tests/test_tutorial/test_options_autocompletion/test_tutorial002.py b/tests/test_tutorial/test_options_autocompletion/test_tutorial002.py index 49af214900..3e15fad9b6 100644 --- a/tests/test_tutorial/test_options_autocompletion/test_tutorial002.py +++ b/tests/test_tutorial/test_options_autocompletion/test_tutorial002.py @@ -18,7 +18,6 @@ def test_completion(): **os.environ, "_TUTORIAL002.PY_COMPLETE": "complete_zsh", "_TYPER_COMPLETE_ARGS": "tutorial002.py --name ", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert "Camila" in result.stdout diff --git a/tests/test_tutorial/test_options_autocompletion/test_tutorial002_an.py b/tests/test_tutorial/test_options_autocompletion/test_tutorial002_an.py index 94f32fb21a..7db64bfa44 100644 --- a/tests/test_tutorial/test_options_autocompletion/test_tutorial002_an.py +++ b/tests/test_tutorial/test_options_autocompletion/test_tutorial002_an.py @@ -18,7 +18,6 @@ def test_completion(): **os.environ, "_TUTORIAL002_AN.PY_COMPLETE": "complete_zsh", "_TYPER_COMPLETE_ARGS": "tutorial002_an.py --name ", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert "Camila" in result.stdout diff --git a/tests/test_tutorial/test_options_autocompletion/test_tutorial003.py b/tests/test_tutorial/test_options_autocompletion/test_tutorial003.py index 5870e445c3..ebd1e066ba 100644 --- a/tests/test_tutorial/test_options_autocompletion/test_tutorial003.py +++ b/tests/test_tutorial/test_options_autocompletion/test_tutorial003.py @@ -18,7 +18,6 @@ def test_completion(): **os.environ, "_TUTORIAL003.PY_COMPLETE": "complete_zsh", "_TYPER_COMPLETE_ARGS": "tutorial003.py --name Seb", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert "Camila" not in result.stdout diff --git a/tests/test_tutorial/test_options_autocompletion/test_tutorial003_an.py b/tests/test_tutorial/test_options_autocompletion/test_tutorial003_an.py index 6583f9dccf..8f12583e80 100644 --- a/tests/test_tutorial/test_options_autocompletion/test_tutorial003_an.py +++ b/tests/test_tutorial/test_options_autocompletion/test_tutorial003_an.py @@ -18,7 +18,6 @@ def test_completion(): **os.environ, "_TUTORIAL003_AN.PY_COMPLETE": "complete_zsh", "_TYPER_COMPLETE_ARGS": "tutorial003_an.py --name Seb", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert "Camila" not in result.stdout diff --git a/tests/test_tutorial/test_options_autocompletion/test_tutorial004.py b/tests/test_tutorial/test_options_autocompletion/test_tutorial004.py index 1d7784ad2b..17c5f5197a 100644 --- a/tests/test_tutorial/test_options_autocompletion/test_tutorial004.py +++ b/tests/test_tutorial/test_options_autocompletion/test_tutorial004.py @@ -18,7 +18,6 @@ def test_completion(): **os.environ, "_TUTORIAL004.PY_COMPLETE": "complete_zsh", "_TYPER_COMPLETE_ARGS": "tutorial004_aux.py --name ", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert '"Camila":"The reader of books."' in result.stdout diff --git a/tests/test_tutorial/test_options_autocompletion/test_tutorial004_an.py b/tests/test_tutorial/test_options_autocompletion/test_tutorial004_an.py index 30196732c6..dcfce0a4a7 100644 --- a/tests/test_tutorial/test_options_autocompletion/test_tutorial004_an.py +++ b/tests/test_tutorial/test_options_autocompletion/test_tutorial004_an.py @@ -18,7 +18,6 @@ def test_completion(): **os.environ, "_TUTORIAL004_AN.PY_COMPLETE": "complete_zsh", "_TYPER_COMPLETE_ARGS": "tutorial004_an_aux.py --name ", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert '"Camila":"The reader of books."' in result.stdout diff --git a/tests/test_tutorial/test_options_autocompletion/test_tutorial007.py b/tests/test_tutorial/test_options_autocompletion/test_tutorial007.py index bfa2aedb8a..b8ce1b1598 100644 --- a/tests/test_tutorial/test_options_autocompletion/test_tutorial007.py +++ b/tests/test_tutorial/test_options_autocompletion/test_tutorial007.py @@ -18,7 +18,6 @@ def test_completion(): **os.environ, "_TUTORIAL007.PY_COMPLETE": "complete_zsh", "_TYPER_COMPLETE_ARGS": "tutorial007.py --name Sebastian --name ", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert '"Camila":"The reader of books."' in result.stdout diff --git a/tests/test_tutorial/test_options_autocompletion/test_tutorial007_an.py b/tests/test_tutorial/test_options_autocompletion/test_tutorial007_an.py index 6c8c294886..c35f23eb61 100644 --- a/tests/test_tutorial/test_options_autocompletion/test_tutorial007_an.py +++ b/tests/test_tutorial/test_options_autocompletion/test_tutorial007_an.py @@ -18,7 +18,6 @@ def test_completion(): **os.environ, "_TUTORIAL007_AN.PY_COMPLETE": "complete_zsh", "_TYPER_COMPLETE_ARGS": "tutorial007_an.py --name Sebastian --name ", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert '"Camila":"The reader of books."' in result.stdout diff --git a/tests/test_tutorial/test_options_autocompletion/test_tutorial008.py b/tests/test_tutorial/test_options_autocompletion/test_tutorial008.py index a347237e71..0874f23c5d 100644 --- a/tests/test_tutorial/test_options_autocompletion/test_tutorial008.py +++ b/tests/test_tutorial/test_options_autocompletion/test_tutorial008.py @@ -18,7 +18,6 @@ def test_completion(): **os.environ, "_TUTORIAL008.PY_COMPLETE": "complete_zsh", "_TYPER_COMPLETE_ARGS": "tutorial008.py --name ", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert '"Camila":"The reader of books."' in result.stdout diff --git a/tests/test_tutorial/test_options_autocompletion/test_tutorial008_an.py b/tests/test_tutorial/test_options_autocompletion/test_tutorial008_an.py index ff5c25987c..cb2481a67c 100644 --- a/tests/test_tutorial/test_options_autocompletion/test_tutorial008_an.py +++ b/tests/test_tutorial/test_options_autocompletion/test_tutorial008_an.py @@ -18,7 +18,6 @@ def test_completion(): **os.environ, "_TUTORIAL008_AN.PY_COMPLETE": "complete_zsh", "_TYPER_COMPLETE_ARGS": "tutorial008_an.py --name ", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert '"Camila":"The reader of books."' in result.stdout diff --git a/tests/test_tutorial/test_options_autocompletion/test_tutorial009.py b/tests/test_tutorial/test_options_autocompletion/test_tutorial009.py index 8d9a73e755..3c7eb0cc64 100644 --- a/tests/test_tutorial/test_options_autocompletion/test_tutorial009.py +++ b/tests/test_tutorial/test_options_autocompletion/test_tutorial009.py @@ -18,7 +18,6 @@ def test_completion(): **os.environ, "_TUTORIAL009.PY_COMPLETE": "complete_zsh", "_TYPER_COMPLETE_ARGS": "tutorial009.py --name Sebastian --name ", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert '"Camila":"The reader of books."' in result.stdout diff --git a/tests/test_tutorial/test_options_autocompletion/test_tutorial009_an.py b/tests/test_tutorial/test_options_autocompletion/test_tutorial009_an.py index fd4b65f1f1..56182ac3b9 100644 --- a/tests/test_tutorial/test_options_autocompletion/test_tutorial009_an.py +++ b/tests/test_tutorial/test_options_autocompletion/test_tutorial009_an.py @@ -18,7 +18,6 @@ def test_completion(): **os.environ, "_TUTORIAL009_AN.PY_COMPLETE": "complete_zsh", "_TYPER_COMPLETE_ARGS": "tutorial009_an.py --name Sebastian --name ", - "_TYPER_COMPLETE_TESTING": "True", }, ) assert '"Camila":"The reader of books."' in result.stdout