[pitivi] tests: Check dependencies in the testsuite
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] tests: Check dependencies in the testsuite
- Date: Wed, 23 Sep 2015 17:02:28 +0000 (UTC)
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]