~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_remote.py

  • Committer: Vincent Ladeuil
  • Date: 2010-01-25 17:48:22 UTC
  • mto: (4987.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4988.
  • Revision ID: v.ladeuil+lp@free.fr-20100125174822-nce4l19sbwx83jvq
Deploying the new overrideAttr facility further reduces the complexity
and make the code clearer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2008
2008
        self.assertLength(1, self.hpss_calls)
2009
2009
 
2010
2010
    def disableExtraResults(self):
2011
 
        self.addAttrCleanup(SmartServerRepositoryGetParentMap,
2012
 
                            'no_extra_results')
2013
 
        SmartServerRepositoryGetParentMap.no_extra_results = True
 
2011
        self.overrideAttr(SmartServerRepositoryGetParentMap,
 
2012
                          'no_extra_results', True)
2014
2013
 
2015
2014
    def test_null_cached_missing_and_stop_key(self):
2016
2015
        self.setup_smart_server_with_call_log()