Azure / azure-cli-dev-tools

Developer utilities for Azure CLI command module and extension developers.
MIT License
81 stars 113 forks source link

Disable sending cli telemetry for azdev test #437

Closed evelyn-ys closed 8 months ago

evelyn-ys commented 8 months ago

azdev test may execute cli commands az cloud show or az cloud set for choosing profiles. Those cli commands which are executed within scenario tests won't send cli telemetry, but the az cloud show/set executed within azdev will create dozens of records in cli telemetry.

This PR aims to disable sending cli telemetry while calling az cloud set/show within azdev test

azure-client-tools-bot-prd[bot] commented 8 months ago

Hi @evelyn-ys, Please write the description of change into HISTORY.rst. If you want to release a new azdev version, please update the VERSION in init.py as well.