def METHOD_NAME(client, db_dj_model):
    _remove_db(db_dj_model.name)
    cache.clear()
    response = client.get('/api/db/v0/databases/')
    response_data = response.json()
    assert response.status_code == 200
    assert response_data['count'] == 1
    assert len(response_data['results']) == 1
    check_database(db_dj_model, response_data['results'][0])