#NEWLINE# def test_instantiate_missing( self ) : #NEWLINE# #INDENT# '\n            If the underlying file is unavailable, still create instantiate the\n            object without error.\n            ' #NEWLINE# p = self . PersonModel ( name = 'Joan' ) #NEWLINE# p . mugshot . save ( 'shot' , self . file1 ) #NEWLINE# p = self . PersonModel . objects . get ( name = 'Joan' ) #NEWLINE# path = p . mugshot . path #NEWLINE# shutil . move ( path , ( self + '.moved' ) ) #NEWLINE# p2 = self . PersonModel . objects . get ( name = 'Joan' )