Azure / Azure/azure-cli-dev-tools

Problems with running tests with the `record_only()` decorator live

Abierto
#9 0 comentarios 0 reacciones 1 asignado Reclamado por @haroldrandom Ver en GitHub
bug Test
Lenguaje dominante
Python
Estrellas
91
Forks
134
Merge medio
2 h 51 min
PR fusionados (30 d)
1

Descripción

---
- running `azdev test --module --live` on tests with the `record_only()` decorator results in just the recordings being deleted; since none of the tests were run, this shouldn't happen.
- doing the above results in the messages:
`SKIP: This test is excluded from being run live. To force a recording, please remove the recording file.`
This is inconsistent with the behavior since the recordings are deleted and the tests are not run even when the recordings are missing.

### Environment summary

Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build) / CLI version (`az --version`) / OS version / Shell Type (e.g. bash, cmd.exe, Bash on Windows)

```
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

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.