#NEWLINE# def assert_instance_deleted( self , model_class , **kwargs ) : #NEWLINE# #INDENT# "\n        Checks if the model instance was deleted from the database.\n\n        For example::\n\n        >>> with self.assert_instance_deleted(Article, slug='lorem-ipsum'):\n        ...     Article.objects.get(slug='lorem-ipsum').delete()\n        " #NEWLINE# return _InstanceContext ( self . assert_instance_exists , self . assert_instance_does_not_exist , self , ** kwargs )