googleapis / googleapis/google-cloud-python

[async rest] Document how to see skipped tests

Ouverte
#16,258 1 commentaire 0 réactions 1 personne assignée Réclamée par @ohmayr Voir sur GitHub
priority: p3 type: process
Langage dominant
Python
Étoiles
5.4k
Forks
1.8k
Merge moyen
3 j 4 h
PR mergées (30 j)
122

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.