def get_family(family_file = None, family_lines = None):
    family = None
    if family_file:
        family = FamilyParser(open(family_file, 'r'))
    elif family_lines:
        family = FamilyParser(family_lines)
        
    return family



################# Test affected ###############
Test get right availability zone by given an instance.
dataset/ETHPy150Open moonso/genmod/tests/genetic_models/test_x_dominant.py/get_family--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/unit/test_availability_zones.py/AvailabilityZoneTestCases.test_get_instance_availability_zone_default_value