def test_check_phone_number_invalid_string_expected_False(self): string = "kristina_mironenko" actual = Validator.check_phone_number(string) expected = False self.assertEqual(actual, expected)
def test_check_phone_number_valid_string_expected_True(self): string = "80445789865" actual = Validator.check_phone_number(string) expected = True self.assertEqual(actual, expected)
def test_check_phone_number(self, input_string, expected): actual = Validator.check_phone_number(input_string) self.assertEqual(actual, expected)