import unittest

from base import BaseTestCase


class EmailTestCase(unittest.TestCase, BaseTestCase):

    def test_gmail_john(self):
        """
        BEFORE: My email is john@gmail.com
        AFTER:  My email is {{EMAIL}}
        """
        self.compare_before_after()

    def test_fancy_gmail_john(self):
        """
        BEFORE: My email is john at gmail.com
        AFTER:  My email is {{EMAIL}}
        """
        self.compare_before_after()

@@ -110,26 +110,26 @@
 ef test_
+john_
 gmail
-_john
 (self):%0A
@@ -287,24 +287,740 @@
 est_
-fancy_gmail_john
+John_gmail(self):%0A        %22%22%22%0A        BEFORE: My email is John@gmail.com%0A        AFTER:  My email is %7B%7BEMAIL%7D%7D%0A        %22%22%22%0A        self.compare_before_after()%0A%0A    def test_John1_example_com(self):%0A        %22%22%22%0A        BEFORE: My email is John1@example.com%0A        AFTER:  My email is %7B%7BEMAIL%7D%7D%0A        %22%22%22%0A        self.compare_before_after()%0A%0A    def test_adam_example_info(self):%0A        %22%22%22%0A        BEFORE: My email is adam80@example.info%0A        AFTER:  My email is %7B%7BEMAIL%7D%7D%0A        %22%22%22%0A        self.compare_before_after()%0A%0A    def test_uppercase(self):%0A        %22%22%22%0A        BEFORE: My email is HELLO@EXAMPLE.COM%0A        AFTER:  My email is %7B%7BEMAIL%7D%7D%0A        %22%22%22%0A        self.compare_before_after()%0A%0A    def test_fancy_john_gmail
 (sel

check a wider range of emails