[pitivi] tests: Check dependencies in the testsuite



commit 6dbbd9d5818e975384086c7f9816a26bfc59e951
Author: Thibault Saunier <tsaunier gnome org>
Date:   Wed Sep 23 15:39:23 2015 +0200

    tests: Check dependencies in the testsuite
    
    Making sure we get the right videosink selected

 tests/runtests.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/tests/runtests.py b/tests/runtests.py
index 10830b6..e0bf04a 100644
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -56,8 +56,9 @@ def setup():
     sys.path.append(libs_dir)
 
     # Make sure the modules are initialized correctly.
-    from pitivi.check import initialize_modules
-    initialize_modules()
+    from pitivi import check
+    check.initialize_modules()
+    assert(check.check_requirements())
 
     from pitivi.utils import loggable as log
     log.init('PITIVI_DEBUG')


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