#NEWLINE# def test_permissions_getter_1( self ) : #NEWLINE# #INDENT# class CanViewAdmin ( object ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# permissions = [ CanViewAdmin ] #NEWLINE# user_data = { #NEWLINE# #INDENT# 'permissions' : permissions , #NEWLINE# #UNINDENT# } #NEWLINE# user = User ( ** user_data ) #NEWLINE# self . assertEqual ( user . permissions , permissions )