def test_transform(self):
        new_route = self.route.transform('transformed')
        assert new_route != self.route
        assert new_route.route['transform'] == 'transformed'
Test to ensure changing the transformation on the fly works as expected
dataset/ETHPy150Open timothycrosley/hug/tests/test_routing.py/TestRouter.test_transform