[gnome-settings-daemon/benzea/tests-output-checker-testing] fixup! tests: Port tests to use new OutputChecker class
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/benzea/tests-output-checker-testing] fixup! tests: Port tests to use new OutputChecker class
- Date: Mon, 15 Feb 2021 13:36:28 +0000 (UTC)
commit 761bae233955041acb17ddefe1e1be85f9cd4bc9
Author: Benjamin Berg <bberg redhat com>
Date: Mon Feb 15 14:26:58 2021 +0100
fixup! tests: Port tests to use new OutputChecker class
plugins/power/test.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/power/test.py b/plugins/power/test.py
index 1299f01e..61cc2ec4 100755
--- a/plugins/power/test.py
+++ b/plugins/power/test.py
@@ -379,7 +379,7 @@ class PowerPluginBase(gsdtestcase.GSDTestCase):
needle = r'|'.join(' {} '.format(m) for m in methods)
- self.logind_log.check_no_line(needle, wait=seconds)
+ self.logind_log.check_no_line_re(needle, wait=seconds)
def check_suspend_no_hibernate(self, seconds):
'''Check that Suspend was requested and not Hibernate, in the given time'''
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]