#NEWLINE# def test_x_healthy_homozygote_male( ) : #NEWLINE# #INDENT# 'Test an healthy homozygote male' #NEWLINE# family_lines = [ '#FamilyID\tSampleID\tFather\tMother\tSex\tPhenotype\n' , '1\tproband\t0\t0\t1\t1\n' ] #NEWLINE# family = get_family ( family_lines = family_lines ) #NEWLINE# homozygote_variant = { #NEWLINE# #INDENT# 'genotypes' : { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } #NEWLINE# homozygote_variant [ 'genotypes' ] [ 'proband' ] = Genotype ( ** { #NEWLINE# #INDENT# 'GT' : '1/1' , #NEWLINE# #UNINDENT# } ) #NEWLINE# assert ( check_X_dominant ( variant = homozygote_variant , family = family ) == False )