~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_remote.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-04-07 13:56:43 UTC
  • mfrom: (4241.6.9 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090407135643-r15qstzbwg87d2nq
(robertc) Add --development6-rich-root,
        disabling the legacy and unneeded development2 format,
        and activating the tests for CHK features disabled pending this format.
        (Robert Collins, John Arbash Meinel, Ian Clathworthy, Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
    RemoteRepository,
50
50
    RemoteRepositoryFormat,
51
51
    )
52
 
from bzrlib.repofmt import pack_repo
 
52
from bzrlib.repofmt import groupcompress_repo, pack_repo
53
53
from bzrlib.revision import NULL_REVISION
54
54
from bzrlib.smart import server, medium
55
55
from bzrlib.smart.client import _SmartClient
1517
1517
class TestRepositoryFormat(TestRemoteRepository):
1518
1518
 
1519
1519
    def test_fast_delta(self):
1520
 
        true_name = pack_repo.RepositoryFormatPackDevelopment2().network_name()
 
1520
        true_name = groupcompress_repo.RepositoryFormatCHK1().network_name()
1521
1521
        true_format = RemoteRepositoryFormat()
1522
1522
        true_format._network_name = true_name
1523
1523
        self.assertEqual(True, true_format.fast_deltas)