#NEWLINE# def test_mixed( self ) : #NEWLINE# #INDENT# resolvable_value = CountingResolvable ( '//:fine-structure-constant' , ( 1 / 137.0 ) ) #NEWLINE# varz = self . Varz ( { #NEWLINE# #INDENT# 'prime' : 37 , #NEWLINE# 'meaning of life' : '//:meaning-of-life' , #NEWLINE# 'fine structure constant' : resolvable_value , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( 0 , resolvable_value . resolutions ) #NEWLINE# self . assertEqual ( { #NEWLINE# #INDENT# 'prime' : 37 , #NEWLINE# 'meaning of life' : '//:meaning-of-life' , #NEWLINE# 'fine structure constant' : ( 1 / 137.0 ) , #NEWLINE# #UNINDENT# } , varz . varz ) #NEWLINE# self . assertEqual ( 1 , varz . resolutions ) #NEWLINE# self . assertEqual ( ( 1 / 137.0 ) , varz . varz [ 'fine structure constant' ] ) #NEWLINE# self . assertEqual ( 2 , resolvable_value . resolutions )