RandomSec/lib/jython-2.5.1/test/zxjdbc/test_zxjdbc_dbapi20.py
Vishal Talwar d0df704d8a added python code part of jython distribution in lib/jython-2.5.1
added python.path vm arg to startup script
fixed infinite loop in unwrap() when displaying sequences of sequences



git-svn-id: http://google-refine.googlecode.com/svn/trunk@509 7d457c2a-affb-35e4-300a-418c747d4874
2010-04-20 18:50:24 +00:00

27 lines
734 B
Python

#!/usr/bin/env jython
# $Id: test_zxjdbc_dbapi20.py 6646 2009-08-10 17:22:46Z fwierzbicki $
"""
This is to be used with the DB API compatibility test available @
http://stuartbishop.net/Software/DBAPI20TestSuite/
"""
__rcs_id__ = '$Id: test_zxjdbc_dbapi20.py 6646 2009-08-10 17:22:46Z fwierzbicki $'
__version__ = '$Revision: 6646 $'
import dbapi20
import unittest
from com.ziclix.python.sql import zxJDBC as zxjdbc
class test_zxjdbc(dbapi20.DatabaseAPI20Test):
driver = zxjdbc
connect_args = ("jdbc:postgresql://localhost/ziclix", "bzimmer", "", "org.postgresql.Driver")
connect_kw_args = {}
def test_nextset(self): pass
def test_setoutputsize(self): pass
if __name__ == '__main__':
unittest.main()