openbsd-ports/devel/py-logilab-common/patches/patch-test_unittest_db_py
alek 68f22e1ff5 Import py-logilab-common 0.21.2
This package contains several modules providing low level
functionalities shared among some python projects developed by
logilab.

From Andreas Bihlmaier <andreas.bihlmaier@gmx.de>
    
With help and one okey from bernd@ and steven@
2007-05-04 17:35:03 +00:00

22 lines
874 B
Plaintext

$OpenBSD: patch-test_unittest_db_py,v 1.1.1.1 2007/05/04 17:35:03 alek Exp $
--- test/unittest_db.py.orig Wed Apr 11 22:55:12 2007
+++ test/unittest_db.py Wed Apr 11 23:00:00 2007
@@ -54,6 +54,8 @@ class getCnxTC(TestCase):
self.passwd = 'adim'
def testPsyco(self):
+ self.skip("let's skip psycopg test as it requires working pgsql database")
+ return
set_prefered_driver('postgres', 'psycopg')
try:
cnx = get_connection('postgres',
@@ -81,6 +83,8 @@ class getCnxTC(TestCase):
self.skip('python-pygresql is not installed')
def testMysql(self):
+ self.skip("let's skip mysql test as it requires working mysql database")
+ return
set_prefered_driver('mysql', 'MySQLdb')
try:
cnx = get_connection('mysql', self.host, database='', user='root',