[10.0] Add Firebird database support to base_external_dbsource (#623)

This commit is contained in:
Michell Stuttgart
2016-11-30 15:17:32 -02:00
committed by Adrià Gil Sorribes
parent effab882a2
commit 2d65341ef0
4 changed files with 55 additions and 21 deletions

View File

@@ -56,3 +56,11 @@ class TestCreateDbsource(common.TransactionCase):
except ValueError as e:
logging.warning("Log = " + str(e))
self.assertTrue(u'Wrong value for' in str(e))
# Connection to firebird
try:
dbsource.connector = "fdb"
dbsource.connection_test()
except Exception as e:
logging.warning("Log = " + str(e))
self.assertTrue(u'Wrong value for' in str(e))