def test_createDatabase(self):
     database_initialiser = DatabaseInitialiser(self.config)
     self.helper.setup_db_file('openihmdb_mysql.sql')
     assert database_initialiser.createDatabase()
Exemplo n.º 2
0
 def setup_clean_db(self):
     database_initialiser = DatabaseInitialiser(self.config)
     self.setup_db_file('openihmdb_mysql.sql')
     self.grant_permissions()
     assert database_initialiser.createDatabase()