Example #1
0
    def test_check_email_string_is_empty_expected_False(self):
        string = ""

        actual = Validator.check_email(string)
        expected = False

        self.assertEqual(actual, expected)
Example #2
0
    def test_check_email_valid_string_expected_True(self):
        string = "*****@*****.**"

        actual = Validator.check_email(string)
        expected = True

        self.assertEqual(actual, expected)
    def test_check_email(self, input_string, expected):

        actual = Validator.check_email(input_string)

        self.assertEqual(actual, expected)