tests: Clear messages between test cases

Makes watching the UI (or screenshots) more useful as we don't have any
leftovers from previous tests.
This commit is contained in:
Florian Bruhin 2025-03-11 18:51:12 +01:00
parent 2810021896
commit 561986cad8
1 changed files with 1 additions and 0 deletions

View File

@ -549,6 +549,7 @@ class QuteProc(testprocess.Process):
def before_test(self):
"""Clear settings before every test."""
super().before_test()
self.send_cmd(':clear-messages')
self.send_cmd(':config-clear')
self._init_settings()
self.clear_data()