Azure / Azure/azure-cli-dev-tools

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

Offen
#9 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @haroldrandom Auf GitHub ansehen
bug Test
Vorherrschende Sprache
Python
Sterne
91
Forks
134
Ø Merge
2 Std. 51 Min.
Gemergte PRs (30 T.)
1

Beschreibung

---
- 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)

```
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.