[pitivi: 10/12] test_integration.py: can run tests with UI by setting ENABLE_UI



commit 7accbdf49e3ffd2eeeaf53d374e14002559ff6b2
Author: Brandon Lewis <brandon_lewis alum berkeley edu>
Date:   Fri Nov 20 14:44:54 2009 -0800

    test_integration.py: can run tests with UI by setting ENABLE_UI

 tests/test_integration.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/test_integration.py b/tests/test_integration.py
index 8536bff..052961c 100644
--- a/tests/test_integration.py
+++ b/tests/test_integration.py
@@ -167,7 +167,7 @@ class Configuration(object):
 
 class InstanceRunner(Signallable):
 
-    no_ui = True
+    no_ui = not(os.getenv("ENABLE_UI"))
 
     class container(object):
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]