'#20364 - Check urlize correctly include quotation marks in links'

def test_quotation_marks(self):

    self.assertEqual(urlize('before    "hi@example.com"    afterwards', autoescape=False), 'before    "<a    href="mailto:hi@example.com">hi@example.com</a>"    afterwards')
    self.assertEqual(urlize('before    hi@example.com"    afterwards', autoescape=False), 'before    <a    href="mailto:hi@example.com">hi@example.com</a>"    afterwards')
    self.assertEqual(urlize('before    "hi@example.com    afterwards', autoescape=False), 'before    "<a    href="mailto:hi@example.com">hi@example.com</a>    afterwards')
    self.assertEqual(urlize("before    'hi@example.com'    afterwards", autoescape=False), 'before    \'<a    href="mailto:hi@example.com">hi@example.com</a>\'    afterwards')
    self.assertEqual(urlize("before    hi@example.com'    afterwards", autoescape=False), 'before    <a    href="mailto:hi@example.com">hi@example.com</a>\'    afterwards')
    self.assertEqual(urlize("before    'hi@example.com    afterwards", autoescape=False), 'before    \'<a    href="mailto:hi@example.com">hi@example.com</a>    afterwards')
