Update of /cvsroot/gtkpod/libgpod/bindings/python/tests
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv1625/bindings/python/tests
Modified Files:
tests.py
Log Message:
Use build-tree libraries for Python test, not the installed set.
Index: tests.py
===================================================================
RCS file: /cvsroot/gtkpod/libgpod/bindings/python/tests/tests.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- tests.py 23 May 2006 11:31:14 -0000 1.1
+++ tests.py 26 Mar 2007 14:10:33 -0000 1.2
@@ -1,9 +1,10 @@
import unittest
-import gpod
import shutil
import tempfile
import os
+gpod = __import__('__init__')
+
class TestiPodFunctions(unittest.TestCase):
def setUp(self):
self.mp = tempfile.mkdtemp()
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2