[pitivi: 3/14] tests: call pygst.require("0.10") when running tests



commit 415cd88e513886a9ceeb4cdaed9646904bce1d99
Author: Alessandro Decina <alessandro d gmail com>
Date:   Fri Sep 17 12:55:15 2010 +0200

    tests: call pygst.require("0.10") when running tests

 tests/__init__.py |    3 +++
 tests/runtests.py |    1 +
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/tests/__init__.py b/tests/__init__.py
index e69de29..7778160 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -0,0 +1,3 @@
+import pygst
+pygst.require("0.10")
+import gst
diff --git a/tests/runtests.py b/tests/runtests.py
index 694f01a..b1e3a46 100644
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -2,6 +2,7 @@ import glob
 import os
 import sys
 import unittest
+import tests
 
 SKIP_FILES = ['common', 'runtests', 'test_integration']
 



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