def test_lva(db_session, client):
    lva = clubs.lva(owner=users.john())
    add_fixtures(db_session, lva)

    res = client.get("/clubs/{id}".format(id=lva.id))
    assert res.status_code == 200
    assert res.json == {
        "id": lva.id,
        "name": "LV Aachen",
        "timeCreated": "2015-12-24T12:34:56+00:00",
        "website": "http://www.lv-aachen.de",
        "isWritable": False,
        "owner": {"id": lva.owner.id, "name": lva.owner.name},
    }