#NEWLINE# def test_deploy_must_exist( self ) : #NEWLINE# #INDENT# '\n        A ``UsageError`` is raised if the ``deployment_config`` file does not\n        exist.\n        ' #NEWLINE# app = self . mktemp ( ) #NEWLINE# FilePath ( app ) . touch ( ) #NEWLINE# deploy = b'/path/to/non-existent-file.cfg' #NEWLINE# exception = self . assertRaises ( UsageError , self . options . parseOptions , [ CONTROL_HOST , self , app ] ) #NEWLINE# self . assertEqual ( 'No file exists at {deploy}' . format ( deploy = deploy ) , str ( exception ) )