#NEWLINE# def test_empty_grants( self ) : #NEWLINE# #INDENT# scat = AccessToken ( ACCOUNT_SID , SIGNING_KEY_SID , 'secret' ) #NEWLINE# token = str ( scat ) #NEWLINE# assert_is_not_none ( token ) #NEWLINE# payload = decode ( token , 'secret' ) #NEWLINE# self . _validate_claims ( payload ) #NEWLINE# assert_equal ( { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , payload [ 'grants' ] )