diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-02-06 13:52:58 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-02-07 09:33:40 +0000 |
commit | 7355c2ee8a9f0811d1cd3d37fc9dac2ad5f95774 (patch) | |
tree | a5fd1f08a00eac447ca2e6b8da00c75cfa947442 /sd/uiconfig | |
parent | ca57cee2ae5718378193a9c7050248c63b5fa47e (diff) |
uitest: reset value when changing the measurement unit
Otherwise, changing it in one test might affect other tests
Use @contextmanager decorator to change it back to default 'Inch'
at the end of the test even if the test hits an assert
Change-Id: I1e7b35019cd19b490aa619c0a866bb9f93820950
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146583
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sd/uiconfig')
0 files changed, 0 insertions, 0 deletions