def test_singular_get(json_client, cheetah_mock):
    assert json_client.get("/api/v1/animals/cheetahs/1") == {"id": 1, "name": "Kyle", "age": 34}
    cheetah_mock["get"].assert_called_once_with(id=1)
def test_multiple_get(json_client, cheetah_mock):
    assert json_client.get("/api/v1/animals/cheetahs") == [
        {"id": 1, "name": "Kyle", "age": 34},
        {"id": 2, "name": "Paul", "age": 22},
    ]
    cheetah_mock["all"].assert_called_once_with()