Azure / Azure/azure-cli-dev-tools
Profile fails in silly way
- 主要言語
- Python
- スター
- 91
- フォーク
- 134
- 平均マージ
- 2時間 51分
- マージ済み PR(30日)
- 1
説明
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.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。