azure-cli-dev-tools icon indicating copy to clipboard operation
azure-cli-dev-tools copied to clipboard

Developer utilities for Azure CLI command module and extension developers.

Results 137 azure-cli-dev-tools issues
Sort by recently updated
recently updated
newest added

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 ![azdev_test_bug1](https://user-images.githubusercontent.com/3250203/68573249-54138580-04a2-11ea-9f25-e15cce67b546.png) The profile is `latest\r\n\x1b[0m`. Finally the process fails with the following exception:...

Test

We don't wan't to run `azdev extension add` again after I change something in the setup.py like version of an extension

enhancement
Extension

Description: why after `azdev extension add`, I cannot find the installed extension in dev mode? For reproduce, you can see the following image. ![image](https://user-images.githubusercontent.com/49508232/77982930-24292980-7340-11ea-84cf-5683bf7ac858.png) Workaround: Re-setup ![image](https://user-images.githubusercontent.com/49508232/77983054-8c780b00-7340-11ea-8b0d-3d6b9ce94384.png)

bug
Extension
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....

Test

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...

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:...

Test

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.

Test

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...

enhancement
Test

--- -`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...

bug
Test