Azure / Azure/azure-cli-dev-tools

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

オープン
#9 コメント 0 件 リアクション 0 件 担当者 1 名 @haroldrandom が担当を希望しています GitHub で見る
bug Test
主要言語
Python
スター
91
フォーク
134
平均マージ
2時間 51分
マージ済み PR(30日)
1

説明

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

```
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

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

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