Example #1
0
 def test_model_table_args(self):
     self.assertIsNotNone(table_args())
def test_model_table_args():
    cfg.CONF.database_connection = 'mysql://localhost'
    assert table_args()
 def test_model_table_args(self):
     self.CONF = self.useFixture(config.Config()).conf
     self.CONF.set_override('connection', self.database_connection,
                            group='database')
     self.assertIsNotNone(sql_models.table_args())
def test_model_table_args():
    cfg.CONF.database.connection = 'mysql://localhost'
    assert table_args()
Example #5
0
 def test_model_table_args(self):
     self.assertIsNotNone(sql_models.table_args())
Example #6
0
 def test_model_table_args(self):
     self.CONF = self.useFixture(config.Config()).conf
     self.CONF.set_override('connection', self.database_connection,
                            group='database')
     self.assertIsNotNone(sql_models.table_args())