def test_OnlyPersianValidation_ShouldAcceptStringWhichOnlyContainsPersianAlphabeticalCharacterWithSpaces(self): employee = Employee() employee.name = "رضوان آژ" only_persian_validation = PersianEmployeeValidation() result = only_persian_validation.validate(employee) assert result is None
def test_OnlyEnglishValidation_ShouldAcceptStringWhichOnlyContainsEnglishAlphabeticalCharacterWithSpaces(self): employee = Employee() employee.name = "Rezvan aj" only_english_validation = EnglishEmployeeValidation() result = only_english_validation.validate(employee) assert result is None