/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_remote.py

  • Committer: Robert Collins
  • Date: 2009-03-16 07:44:05 UTC
  • mto: This revision was merged to the branch mainline in revision 4149.
  • Revision ID: robertc@robertcollins.net-20090316074405-t9guvf13rj4mlhuk
More test fallout, but all caught now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1882
1882
class _StubRealPackRepository(object):
1883
1883
 
1884
1884
    def __init__(self, calls):
 
1885
        self.calls = calls
1885
1886
        self._pack_collection = _StubPackCollection(calls)
1886
1887
 
 
1888
    def is_in_write_group(self):
 
1889
        return False
 
1890
 
 
1891
    def refresh_data(self):
 
1892
        self.calls.append(('pack collection reload_pack_names',))
 
1893
 
1887
1894
 
1888
1895
class _StubPackCollection(object):
1889
1896
 
1893
1900
    def autopack(self):
1894
1901
        self.calls.append(('pack collection autopack',))
1895
1902
 
1896
 
    def reload_pack_names(self):
1897
 
        self.calls.append(('pack collection reload_pack_names',))
1898
 
 
1899
1903
 
1900
1904
class TestRemotePackRepositoryAutoPack(TestRemoteRepository):
1901
1905
    """Tests for RemoteRepository.autopack implementation."""