#NEWLINE# def test_depth_two( self ) : #NEWLINE# #INDENT# root = { #NEWLINE# #INDENT# 'key' : [ 'test' ] , #NEWLINE# #UNINDENT# } #NEWLINE# assert ( get_path ( root , ( 'key' , 0 ) ) == 'test' ) #NEWLINE# assert ( get_path ( root , 'key.0' ) == 'test' )