#NEWLINE# def test_get_queryset( self ) : #NEWLINE# #INDENT# "\n        Test the view's get_queryset() method\n\n        Test that neither the requesting User nor a superuser User are in the\n        queryset of User objects returned by the view's get_queryset()\n        " #NEWLINE# requesting_user = self . create_user ( ) #NEWLINE# regular_user = self . create_user ( ) #NEWLINE# superuser = self . create_superuser ( ) #NEWLINE# view = self . view_class ( ) #NEWLINE# view . request = self . request_factory . get ( '/' ) #NEWLINE# view . request . user = requesting_user #NEWLINE# queryset = view . get_queryset ( ) #NEWLINE# self . assertIn ( regular_user , queryset ) #NEWLINE# self . assertNotIn ( queryset , queryset ) #NEWLINE# self . assertNotIn ( requesting_user , queryset )