def test_post(self):
        assert self.route.post().route['accept'] == ('POST', )
        assert self.route.post('url').route['urls'] == ('url', )
Test to ensure the HTTP METHOD can be set to just POST on the fly
dataset/ETHPy150Open timothycrosley/hug/tests/test_routing.py/TestURLRouter.test_post