Test connection tweaks for Travis

This commit is contained in:
Andy Dustman
2012-10-01 13:14:38 -04:00
parent 9bf8bcf894
commit 1936b93cf0
4 changed files with 3 additions and 5 deletions

View File

@ -10,7 +10,7 @@ class test_MySQLdb(capabilities.DatabaseTest):
db_module = MySQLdb
connect_args = ()
connect_kwargs = dict(db='test', host="127.0.0.1", user="test", #read_default_file='~/.my.cnf',
connect_kwargs = dict(db='test', host="127.0.0.1", user="root",
charset='utf8', sql_mode="ANSI,STRICT_TRANS_TABLES,TRADITIONAL")
create_table_extra = "ENGINE=INNODB CHARACTER SET UTF8"
leak_test = False