def test_db_create_from_schema(self):
        schema_execute(self.schema_file)
        
        database = Database('fitness',True)
        with database:
            self.assertTrue(database.tbl_exists('workout'))

        database = Database('diet')
        with database:
            self.assertTrue(database.tbl_exists('food'))

        database = Database('diet',True)
        with database:
            self.assertTrue(database.tbl_exists('meals'))            
    def test_db_create(self):

        database = Database(test_db.name)
        
        with database:
            tbl_create(database,test_db.tbl_name,test_db.col_defn)

        database = Database(test_db.name,True)
            
        with database:
            self.assertTrue(database.tbl_exists(test_db.tbl_name))