#NEWLINE# def test_samples( ) : #NEWLINE# #INDENT# vcf = PyVariantCallFile ( 'fixture/sample.vcf' ) #NEWLINE# v = list ( iter ( vcf ) ) [ 2 ] #NEWLINE# expect = { #NEWLINE# #INDENT# 'GT' : [ '0|0' ] , #NEWLINE# 'HQ' : [ '51' , '51' ] , #NEWLINE# 'GQ' : [ '48' ] , #NEWLINE# 'DP' : [ '1' ] , #NEWLINE# #UNINDENT# } #NEWLINE# eq_ ( expect , v . samples [ 'NA00001' ] )