~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_remote.py

Merge cleanup into description

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
        b = BzrDir.open_from_transport(self.transport).open_branch()
135
135
        self.assertStartsWith(str(b), 'RemoteBranch(')
136
136
 
 
137
    def test_remote_bzrdir_repr(self):
 
138
        b = BzrDir.open_from_transport(self.transport)
 
139
        self.assertStartsWith(str(b), 'RemoteBzrDir(')
 
140
 
137
141
    def test_remote_branch_format_supports_stacking(self):
138
142
        t = self.transport
139
143
        self.make_branch('unstackable', format='pack-0.92')
2004
2008
        self.assertLength(1, self.hpss_calls)
2005
2009
 
2006
2010
    def disableExtraResults(self):
2007
 
        old_flag = SmartServerRepositoryGetParentMap.no_extra_results
2008
 
        SmartServerRepositoryGetParentMap.no_extra_results = True
2009
 
        def reset_values():
2010
 
            SmartServerRepositoryGetParentMap.no_extra_results = old_flag
2011
 
        self.addCleanup(reset_values)
 
2011
        self.overrideAttr(SmartServerRepositoryGetParentMap,
 
2012
                          'no_extra_results', True)
2012
2013
 
2013
2014
    def test_null_cached_missing_and_stop_key(self):
2014
2015
        self.setup_smart_server_with_call_log()