

def test_if_gender_is_populated_from_choices(self):
    from test.generic.models import GENDER_CH
    self.assertTrue((self.person.gender in map((lambda x: x[0]), GENDER_CH)))

dataset/ETHPy150Open vandersonmota/model_mommy/test/generic/tests/test_filling_fields.py FillingFromChoice.test_if_gender_is_populated_from_choices/original