#NEWLINE# def test_setByteString( self ) : #NEWLINE# #INDENT# test_string = b'testing testie test' #NEWLINE# self . att . setByteString ( test_string ) #NEWLINE# enc = base64 . encodebytes ( test_string ) #NEWLINE# self . assertEqual ( self . att . json [ 'ContentBytes' ] , enc )