#NEWLINE# def assert_instance_does_not_exist( self , model_class , **kwargs ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# instance = model_class . _default_manager . get ( ** kwargs ) #NEWLINE# raise AssertionError ( 'A {0} was found matching the criteria. ({1})' . format ( model_class . __name__ , model_class ) ) #NEWLINE# #UNINDENT# except model_class . DoesNotExist : #NEWLINE# #INDENT# pass