|
Ran
|
Jobs
4
|
Files
65
|
Run time
1min
|
Badge
README BADGES
|
github
Add expected_regex to assertPhaseError and assertTestError. Tests that need to verify which exception a phase raised, rather than only its type, currently have to reach into `phase_record.result.phase_result.exc_val` by hand. Mirroring `unittest.TestCase.assertRaisesRegex`, both assertions now accept an optional `expected_regex` (a string or compiled pattern) that is searched against `str()` of the raised exception. Existing positional `exc_type` usage is unchanged. FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/google/openhtf/pull/1340 from google:glados-verma-contrib 45bf71e16 PiperOrigin-RevId: 998964984
8 of 8 new or added lines in 1 file covered. (100.0%)
4870 of 7646 relevant lines covered (63.69%)
2.55 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | python-3.13 - 38647543451.1 | 65 |
63.69
|
GitHub Action Run | |
| 2 | python-3.11 - 38647543451.2 | 65 |
63.69
|
GitHub Action Run | |
| 3 | python-3.12 - 38647543451.3 | 65 |
63.69
|
GitHub Action Run | |
| 4 | python-3.14 - 38647543451.4 | 65 |
63.68
|
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|