diff options
| author | Maximilian Bosch <maximilian@mbosch.me> | 2025-03-18 11:02:47 +0000 |
|---|---|---|
| committer | Maximilian Bosch <maximilian@mbosch.me> | 2025-03-20 13:20:37 +0000 |
| commit | 11ff96a6795889a3d59b2ec0e9d587b9cf15ed5c (patch) | |
| tree | 3a6e6478cfb3ee3fc173fc1b8ddc80f54ccad5c8 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | a1dfaf51e2400f4698bbd076c56473b0ba6303bf (diff) | |
nixos/test-driver: use RequestedAssertionFailed/TestScriptError in Machine class
I think it's reasonable to also have this kind of visual distinction
here between test failures and actual errors from the test framework.
A failing `machine.require_unit_state` now lookgs like this for
instance:
!!! Traceback (most recent call last):
!!! File "<string>", line 3, in <module>
!!! machine.require_unit_state("postgresql","active")
!!!
!!! RequestedAssertionFailed: Expected unit 'postgresql' to to be in state 'active' but it is in state 'inactive'
Co-authored-by: Benoit de Chezelles <bew@users.noreply.github.com>
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
