googleapis / googleapis/google-cloud-python
[async rest] Document how to see skipped tests
未关闭
priority: p3
type: process
- 主要语言
- Python
- 星标
- 5.4k
- 派生
- 1.8k
- 平均合并
- 3 天 4 小时
- 30 天内合并 PR
- 122
描述
Currently, we skip tests for async REST in the following way:
```
if not HAS_ASYNC_REST_EXTRA:
pytest.skip("the library must be installed with the `async_rest` extra to test this feature.")
```
However, the message does not show up when the test is skipped during a nox session.
Investigate and document how to see the skip messages when a test is run in a nox session and skipped using `pytest.skip`. In some cases we should use mark.skipif: https://docs.pytest.org/en/stable/reference/reference.html#pytest-mark-skipif-ref.
贡献指南
评估
这个 Issue 还没有评估数据。