#NEWLINE# def testUserMissingParams( self ) : #NEWLINE# #INDENT# recipestr1 = "\nclass TestUserInfo(UserInfoRecipe):\n    name = 'info-test'\n    version = '0'\n    clearBuildReqs()\n\n    def setup(r):\n        r.User()\n" #NEWLINE# err = self . assertRaises ( cook . CookError , err . buildRecipe , recipestr1 , 'TestUserInfo' ) #NEWLINE# recipestr2 = "\nclass TestUserInfo(UserInfoRecipe):\n    name = 'info-test'\n    version = '0'\n    clearBuildReqs()\n\n    def setup(r):\n        r.User('foo')\n" #NEWLINE# err = self . assertRaises ( cook . CookError , self . buildRecipe , recipestr2 , 'TestUserInfo' )