Azure / Azure/azure-cli-dev-tools
Profile fails in silly way
- Dominant language
- Python
- Stars
- 91
- Forks
- 134
- Avg merge
- 2h 51m
- Merged PRs (30d)
- 1
Description
When I run azdev test I get
```
File "/home/pmiller/azure-cli-extensions/penv/lib/python3.8/site-packages/azdev/operations/testtool/__init__.py", line 329, in _get_test_index
test_index = _discover_tests(profile)
File "/home/pmiller/azure-cli-extensions/penv/lib/python3.8/site-packages/azdev/operations/testtool/__init__.py", line 200, in _discover_tests
profile_split = profile.split('-')
TypeError: a bytes-like object is required, not 'str'
```
This seems to be because of
def current_profile():
return cmd('az cloud show --query profile -otsv', show_stderr=False).result
When I run az cloud show --query profile -otsv
I get
``
File "/home/pmiller/azure-cli-extensions/penv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 777, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'azure-cli==2.14.0' distribution was not found and is required by the application
``
This is all in a fairly new/clean venv.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.