def test_doc(self):
        new_route = self.route.doc('FAQ')
        assert new_route != self.route
        assert new_route.route['doc'] == 'FAQ'
        assert new_route.route['transform'] == 'transform'
        assert new_route.route['output'] == 'output'
Test to ensure the documentation can be replaced on the fly
dataset/ETHPy150Open timothycrosley/hug/tests/test_routing.py/TestCLIRouter.test_doc