~ubuntu-branches/ubuntu/natty/unattended-upgrades/natty

« back to all changes in this revision

Viewing changes to test/test_substitute.py

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2011-03-14 11:49:02 UTC
  • mfrom: (4.1.14 sid)
  • Revision ID: james.westby@ubuntu.com-20110314114902-ptzfspz42t7s6287
Tags: 0.70ubuntu1
* merged lp:~mvo/unattended-upgrades/minimal-steps-upgrade
  - This allows performaing the upgrades in minimal chunks so
    that they can be interrupted (relatively) quickly with
    SIGUSR1
  - This feature is not enabled by default yet, in order
    to use it, uncomment the line in 50unattended-upgrades:
     Unattended-Upgrades::MinimalSteps "true";
  LP: #729214

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
        apt_pkg.config.set("Unattended-Upgrade::Allowed-Origins::",
32
32
                           "${distro_id} ${distro_codename}-security")
33
33
        l = get_allowed_origins()
34
 
        self.assertTrue(("MyDistroID","nacked-security") in l)
 
34
        self.assertTrue(("o=MyDistroID,a=nacked-security") in l)
35
35
 
36
36
if __name__ == "__main__":
37
37
    logging.basicConfig(level=logging.DEBUG)