def __init__(self, version, database='main'):
        super(DatabaseAtVersion, self).__init__()
        self.database = database
        self.version = version
        if database == 'main':
            self.get_engine = session.get_engine
        elif database == 'api':
            self.get_engine = session.get_api_engine
Create a database fixture.
dataset/ETHPy150Open openstack/nova/nova/tests/fixtures.py/DatabaseAtVersion.__init__