As discussed in https://github.com/fastapi/typer/pull/866#issuecomment-2316421622, introducing a specific env var _TYPER_RUN_INSTALL_COMPLETION_TESTS that needs to be set before --install-completion tests are run. This env var is set for tests on the CI, but would usually not be set when users run tests locally. This is to ensure no side effects or failing tests happen locally. Fixes #413.
As discussed in https://github.com/fastapi/typer/pull/866#issuecomment-2316421622, introducing a specific env var
_TYPER_RUN_INSTALL_COMPLETION_TESTS
that needs to be set before--install-completion
tests are run. This env var is set for tests on the CI, but would usually not be set when users run tests locally. This is to ensure no side effects or failing tests happen locally. Fixes #413.Thanks to @rokbot for raising this issue in #866!