Пример #1
0
    def test_given_no_caller_id_when_caller_id_is_not_required_then_validation_passes(self):
        user = User()

        validator.validate_caller_id(user, required=False)
Пример #2
0
    def test_given_valid_caller_id_when_validating_then_validation_passes(self):
        user = User(caller_id='"toto" <1000>')

        validator.validate_caller_id(user)