#NEWLINE# def test_access_control( ) : #NEWLINE# #INDENT# client = mock . MagicMock ( ) #NEWLINE# access_control = models . AccessControl ( client , 'subject' , 'action' , 'scope' , 'grant_option' ) #NEWLINE# assert ( access_control . subject == 'subject' ) #NEWLINE# assert ( access_control . action == 'action' ) #NEWLINE# assert ( access_control . scope == 'scope' ) #NEWLINE# assert ( access_control . grant_option == 'grant_option' )