#NEWLINE# def test_decode( self ) : #NEWLINE# #INDENT# data = { #NEWLINE# #INDENT# 'a test key' : 'a test value' , #NEWLINE# #UNINDENT# } #NEWLINE# encoded = self . context . encode ( data ) #NEWLINE# self . assertEqual ( self . context . decode ( encoded ) , data )