#NEWLINE# def test_queryset( self ) : #NEWLINE# #INDENT# res = self . client . get ( '/list/authors/' ) #NEWLINE# self . assertEqual ( res . status_code , 200 ) #NEWLINE# self . assertTemplateUsed ( res , 'generic_views/author_list.html' ) #NEWLINE# self . assertEqual ( list ( res . context [ 'object_list' ] ) , list ( Author . objects . all ( ) ) ) #NEWLINE# self . assertTrue ( isinstance ( res . context [ 'view' ] , View ) ) #NEWLINE# self . assertIs ( res . context [ 'author_list' ] , res . context [ 'object_list' ] ) #NEWLINE# self . assertIsNone ( res . context [ 'paginator' ] ) #NEWLINE# self . assertIsNone ( res . context [ 'page_obj' ] ) #NEWLINE# self . assertFalse ( res . context [ 'is_paginated' ] )