Runs a suite of data test cases through 'pytest --update-data' until either tests pass or until a maximum number of attempts (needed for incremental tests).
(data_suite: str)
| 9 | |
| 10 | |
| 11 | def _run_pytest_update_data(data_suite: str) -> PytestResult: |
| 12 | """ |
| 13 | Runs a suite of data test cases through 'pytest --update-data' until either tests pass |
| 14 | or until a maximum number of attempts (needed for incremental tests). |
| 15 | """ |
| 16 | return run_pytest_data_suite(data_suite, extra_args=["--update-data"], max_attempts=3) |
| 17 | |
| 18 | |
| 19 | class UpdateDataSuite(Suite): |
no test coverage detected
searching dependent graphs…