~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/launchpad/test_lp_api_lite.py

  • Committer: Patch Queue Manager
  • Date: 2015-12-17 18:39:00 UTC
  • mfrom: (6606.1.2 fix-float)
  • Revision ID: pqm@pqm.ubuntu.com-20151217183900-0719du2uv1kwu3lc
(vila) Inline testtools private method to fix an issue in xenial (the
 private implementation has changed in an backward incompatible way).
 (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
425
425
            lambda x: ('ubuntu', 'natty', 'bzr'))
426
426
        self.overrideAttr(lp_api_lite, 'LatestPublication',
427
427
            lambda *args: self.fail('Tried to query launchpad'))
428
 
        c = self.branch.get_config()
429
 
        c.set_user_option('launchpad.packaging_verbosity', 'off')
 
428
        c = self.branch.get_config_stack()
 
429
        c.set('launchpad.packaging_verbosity', 'off')
430
430
        orig_log_len = len(self.get_log())
431
431
        launchpad._check_is_up_to_date(self.branch)
432
432
        new_content = self.get_log()[orig_log_len:]