async def METHOD_NAME(self, fake2, snapshot, spawn_client):
    """
    Test that a ``GET /labels`` return a complete list of labels.
    """
    client = await spawn_client(authorize=True, administrator=True)
    label_1 = await fake2.labels.create()
    label_2 = await fake2.labels.create()
    await client.db.samples.insert_many(
        [
            {
                "_id": "foo",
                "name": "Foo",
                "labels": [
                    label_1.id,
                ],
            },
            {"_id": "bar", "name": "Bar", "labels": [label_1.id, label_2.id]},
            {"_id": "baz", "name": "Baz", "labels": [label_2.id]},
        ],
        session=None,
    )
    resp = await client.get("/labels")
    assert resp.status == 200
    assert await resp.json() == snapshot