(self)
| 290 | |
| 291 | class ReUnescapeTest(unittest.TestCase): |
| 292 | def test_re_unescape(self): |
| 293 | test_strings = ("/favicon.ico", "index.html", "Hello, World!", "!$@#%;") |
| 294 | for string in test_strings: |
| 295 | self.assertEqual(string, re_unescape(re.escape(string))) |
| 296 | |
| 297 | def test_re_unescape_raises_error_on_invalid_input(self): |
| 298 | with self.assertRaises(ValueError): |
nothing calls this directly
no test coverage detected