#NEWLINE# def test_projects_get( self ) : #NEWLINE# #INDENT# self . _project_create ( ) #NEWLINE# view = ProjectViewSet . as_view ( { #NEWLINE# #INDENT# 'get' : 'retrieve' , #NEWLINE# #UNINDENT# } ) #NEWLINE# request = self . factory . get ( '/' , ** self . extra ) #NEWLINE# response = view ( request , pk = self . project . pk ) #NEWLINE# self . assertEqual ( response . status_code , 200 ) #NEWLINE# self . assertEqual ( response . data , self . project_data )