qal.dal.tests package

Submodules

qal.dal.tests.framework module

Created on Oct 6, 2010

@author: Nicklas Boerjesson

qal.dal.tests.framework.default_dal(_db_type)[source]

default_dal is a class decorator that sets the self.dal property of the class.

qal.dal.tests.framework.get_default_dal(_db_type, _db_name='')[source]

Returns a default database connection for the given db typ. Read from environment variable first, then assume files are in /config/subdirectory. # TODO: Fix so it uses on the windows platform.

qal.dal.tests.test_dal module

Created on May 20, 2010

@author: Nicklas Boerjesson

class qal.dal.tests.test_dal.DAL_tests(methodName='runTest')[source]

Bases: unittest.case.TestCase

test_connect_DB_DB2()[source]
test_connect_DB_MYSQL()[source]
test_connect_DB_ORACLE()[source]
test_connect_DB_POSTGRESQL()[source]
test_connect_DB_SQLSERVER()[source]

Module contents

Tests :copyright: Copyright 2010-2014 by Nicklas Boerjesson :license: BSD, see LICENSE for details.