def test_update(self): mock_recipe() buildout = {'buildout': {'directory': '/fake'}, 'instance': None} options = {'packages-under-test': 'package.*'} recipe = RoadrunnerPloneRecipe(buildout, 'roadrunner', options) recipe.install = self.mocker.mock() self.expect(recipe.install()) self.mocker.replay() self.assertEquals(recipe.update(), None) unmock_recipe()