async def METHOD_NAME(self, client, constant_body):
    try:
        constant_body.capacity = 0
        await client.validation_of_body("123", 150, constant_body)
    except ValidationError as err:
        assert err.rule ==  "minimum_ex"
        assert "capacity" in  err.target