#NEWLINE# def test_get( self ) : #NEWLINE# #INDENT# data = self . t1 . es . get ( ) #NEWLINE# self . assertEqual ( data [ 'id' ] , self . t1 . id ) #NEWLINE# data = TestModel . es . get ( pk = data . t1 . id ) #NEWLINE# self . assertEqual ( data [ 'id' ] , self . t1 . id ) #NEWLINE# with self . assertRaises ( AttributeError ) : #NEWLINE# #INDENT# TestModel . es . queryset . get ( )