@pytest.fixture(scope='function', params=_all_databases)
def db_type(request):
    db_list = request.config.option.test_databases
    if ((request.param not in db_list) and ('all' not in db_list)):
        pytest.skip(f'Skipping {request.param} DB, set --test-all-databases=True')
    PanDB.permanently_erase_database(request.param, 'panoptes_testing', really='Yes', dangerous='Totally')
    return request.param
@pytest.fixture(scope='function', params=_all_databases)
def db_type(request):
    db_list = request.config.option.test_databases
    if ((request.param not in db_list) and ('all' not in db_list)):
        pytest.skip(f'Skipping {request.param} DB, set --test-all-databases=True')
    PanDB.permanently_erase_database(request.param, 'panoptes_testing', really='Yes', dangerous='Totally')
    return request.param