Azure / Azure/azure-cli-dev-tools

azdev test doesn't work

Open
#213 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
91
Forks
134
Avg merge
2h 51m
Merged PRs (30d)
1

Description

When I run `azdev test`, I got the error as shown below:

> Traceback (most recent call last):
File "c:\users\zackl\azure-cli\venv\lib\site-packages\knack\cli.py", line 215, in invoke
cmd_result = self.invocation.execute(args)
File "c:\users\zackl\azure-cli\venv\lib\site-packages\knack\invocation.py", line 225, in execute
cmd_result = parsed_args.func(params)
File "c:\users\zackl\azure-cli\venv\lib\site-packages\knack\commands.py", line 148, in __call__
return self.handler(*args, **kwargs)
File "c:\users\zackl\azure-cli\venv\lib\site-packages\knack\commands.py", line 255, in _command_handler
result = op(client, **command_args) if client else op(**command_args)
File "c:\users\zackl\azure-cli\venv\lib\site-packages\azdev\operations\tests\__init__.py", line 48, in run_tests
test_index = _get_test_index(profile or current_profile(), discover)
File "c:\users\zackl\azure-cli\venv\lib\site-packages\azdev\operations\tests\__init__.py", line 332, in _get_test_index
test_index = _discover_tests(profile)
File "c:\users\zackl\azure-cli\venv\lib\site-packages\azdev\operations\tests\__init__.py", line 228, in _discover_tests
tests = _discover_module_tests(mod_name, mod_data)
File "c:\users\zackl\azure-cli\venv\lib\site-packages\azdev\operations\tests\__init__.py", line 160, in _discover_module_tests
contents = os.listdir(mod_data['filepath'])
FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'c:\\users\\zackl\\azure-cli\\src\\azure-cli\\azure\\cli\\tests'

The version of `azdev` is 0.1.18.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.