Example #1
0
    def test_check_for_Latin_letters_valid_string_expected_True(self):
        string = 'qwerty'

        actual = Validator.check_for_Latin_letters(string)
        expected = True

        self.assertEqual(actual, expected)
Example #2
0
    def test_check_for_Latin_letters_invalid_string_expected_False(self):
        string = '123'

        actual = Validator.check_for_Latin_letters(string)
        expected = False

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

        actual = Validator.check_for_Latin_letters(input_string)

        self.assertEqual(actual, expected)