~ubuntu-branches/ubuntu/karmic/landscape-client/karmic-updates

« back to all changes in this revision

Viewing changes to landscape/tests/test_configuration.py

  • Committer: Bazaar Package Importer
  • Author(s): Free Ekanayaka
  • Date: 2010-04-21 12:31:28 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20100421123128-qwde8pqe5zi6so05
Tags: 1.5.0.1-0ubuntu0.9.10.0
* New upstream version
  - Fix smart-update failing its very first run (LP: #562496)
  - Depend on pythonX.Y-dbus and pythonX.Y-pycurl (LP: #563063)
  - Make only one request at a time to retrieve EC2 instances (LP: #567515)

* New upstream version (LP: #557244)
  - Fix package-changer running before smart-update has completed (LP: #542215)
  - Report the version of Eucalyptus used to generate topology data (LP: #554007)
  - Enable the Eucalyptus plugin by default, if supported (LP: #546531)
  - Use a whitelist of allowed filesystem types to instead of a blacklist (LP: #351927)
  - Report the update-manager logs to the server (LP: #503384)
  - Turn off Curl's DNS caching for requests. (LP: #522668)

Show diffs side-by-side

added added

removed removed

Lines of Context:
458
458
        """
459
459
        Confirm with the user for users specified for the ScriptPlugin.
460
460
        """
461
 
        self.config.include_manager_plugins = "FooPlugin"
 
461
        pwnam_mock = self.mocker.replace("pwd.getpwnam")
 
462
        pwnam_mock("root")
 
463
        self.mocker.result(True)
 
464
        pwnam_mock("nobody")
 
465
        self.mocker.result(True)
 
466
        pwnam_mock("landscape")
 
467
        self.mocker.result(True)
462
468
        self.mocker.order()
463
469
        script_mock = self.mocker.patch(self.script)
464
470
        script_mock.show_help(ANY)