[pitivi] tests: Fix TestGnomeSystem test
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] tests: Fix TestGnomeSystem test
- Date: Fri, 3 Jul 2015 07:39:58 +0000 (UTC)
commit 3523f90e990c75ac771867a6ddcfcaf467b0e0e9
Author: Thibault Saunier <tsaunier gnome org>
Date: Fri Jul 3 09:38:46 2015 +0200
tests: Fix TestGnomeSystem test
tests/test_system.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/test_system.py b/tests/test_system.py
index df9153e..44c775d 100644
--- a/tests/test_system.py
+++ b/tests/test_system.py
@@ -96,7 +96,7 @@ class TestGnomeSystem(TestCase):
# We can only test this on a Gnome system.
return
- if not self.system.session_iface.IsInhibited(
+ if self.system.session_iface.IsInhibited(
INHIBIT_LOGOUT | INHIBIT_USER_SWITCHING | INHIBIT_SUSPEND |
INHIBIT_SESSION_IDLE):
# Other programs are inhibiting, cannot test.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]