[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 Víctor Martínez
parent 50c3082d84
commit e4821895f2
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))