~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Vincent Ladeuil
  • Date: 2011-09-26 15:40:02 UTC
  • mto: This revision was merged to the branch mainline in revision 6178.
  • Revision ID: v.ladeuil+lp@free.fr-20110926154002-exguk3psfpc4b2uw
Allow config options to be overridden from the command line

Show diffs side-by-side

added added

removed removed

Lines of Context:
983
983
        for feature in getattr(self, '_test_needs_features', []):
984
984
            self.requireFeature(feature)
985
985
        self._cleanEnvironment()
 
986
        self.overrideAttr(bzrlib.global_state, 'cmdline_overrides',
 
987
                          config.CommandLineSection())
986
988
        self._silenceUI()
987
989
        self._startLogFile()
988
990
        self._benchcalls = []