def test_raise_on_invalid(self):
        assert not 'raise_on_invalid' in self.route.route
        assert self.route.raise_on_invalid().route['raise_on_invalid']
Test to ensure it's possible to set a raise on invalid handler per route
dataset/ETHPy150Open timothycrosley/hug/tests/test_routing.py/TestInternalValidation.test_raise_on_invalid