googleapis / googleapis/google-cloud-python

[async rest] Document how to see skipped tests

Abierto
#16,258 1 comentario 0 reacciones 1 asignado Reclamado por @ohmayr Ver en GitHub
priority: p3 type: process
Lenguaje dominante
Python
Estrellas
5.4k
Forks
1.8k
Merge medio
3 d 4 h
PR fusionados (30 d)
122

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.