def testIntFilter(self): self.assertMatches('/object/<id:int>', '/object/567', id=567) self.assertRaises(bottle.HTTPError, self.match, '/object/abc')