googleapis / googleapis/google-cloud-python

[async rest] Document how to see skipped tests

オープン
#16,258 コメント 1 件 リアクション 0 件 担当者 1 名 @ohmayr が担当を希望しています GitHub で見る
priority: p3 type: process
主要言語
Python
スター
5.4k
フォーク
1.8k
平均マージ
3日 4時間
マージ済み PR(30日)
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。