MCPcopy Create free account
hub / github.com/EasyIME/PIME / test_reverse

Method test_reverse

python/python3/tornado/test/web_test.py:3098–3100  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3096
3097class URLSpecReverseTest(unittest.TestCase):
3098 def test_reverse(self):
3099 self.assertEqual("/favicon.ico", url(r"/favicon\.ico", None).reverse())
3100 self.assertEqual("/favicon.ico", url(r"^/favicon\.ico$", None).reverse())
3101
3102 def test_non_reversible(self):
3103 # URLSpecs are non-reversible if they include non-constant

Callers

nothing calls this directly

Calls 1

reverseMethod · 0.45

Tested by

no test coverage detected