azure-cli-dev-tools
azure-cli-dev-tools copied to clipboard
Developer utilities for Azure CLI command module and extension developers.
I'm using `azdev test` in pycharm to do some tests, but I've noticed the following error: https://github.com/Azure/azure-cli-dev-tools/blob/d3c663ebdac619bce2cb5a5bd103aefd76ef4503/azdev/operations/tests/__init__.py#L152-L158  The profile is `latest\r\n\x1b[0m`. Finally the process fails with the following exception:...
We don't wan't to run `azdev extension add` again after I change something in the setup.py like version of an extension
Description: why after `azdev extension add`, I cannot find the installed extension in dev mode? For reproduce, you can see the following image.  Workaround: Re-setup 
Some commands default to values specified by the configured default in the user's environment (set via `az configure`). See `--resource-group` and `--locations` as examples of optionals which support configured defaults....
Currently if i have standalone test generated, i can't find a good way to execute it. What I do is: Firstly, install **azdev** pip install azdev then setup your test...
--debug doesn't print API call information as expected. ``` (env) E:\Microsoft\AzureCLI\azure-cli>azdev test test_functionapp_access_restriction_add --live --debug Command arguments: ['test', 'test_functionapp_access_restriction_add', '--live', '--debug'] Event: Cli.PreExecute [] Event: CommandParser.OnGlobalArgumentsCreate [, , ] Event:...
If I set default value for the resource_group_name by `az configure --default group=name`. `azdev test module` will throw out more failures which I think it shouldn't.
I'm trying to run tests with `azdev test`. I'm using ResourceGroupPreparer. It "deletes the resource group after the test is run" as [documented.](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/tests.md) Is there a way to disable that...
--- -`test_storage_blob_incremental_copy` results in a different recording when run in Python2 vs Python3 -the python3 recording fails when played back in python2 ### Environment summary Install Method (e.g. pip, interactive...