~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_pack_repository.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
    repository,
32
32
    revision as _mod_revision,
33
33
    tests,
 
34
    transport,
34
35
    ui,
35
36
    )
36
37
from bzrlib.repofmt.groupcompress_repo import RepositoryFormat2a
42
43
    TestNotApplicable,
43
44
    )
44
45
from bzrlib.transport import (
45
 
    get_transport,
46
46
    memory,
47
47
    )
48
48
from bzrlib.tests import test_server
266
266
        format = self.get_format()
267
267
        server = test_server.FakeNFSServer()
268
268
        self.start_server(server)
269
 
        transport = get_transport(server.get_url())
270
 
        bzrdir = self.get_format().initialize_on_transport(transport)
 
269
        t = transport.get_transport(server.get_url())
 
270
        bzrdir = self.get_format().initialize_on_transport(t)
271
271
        repo = bzrdir.create_repository()
272
272
        repo_transport = bzrdir.get_repository_transport(None)
273
273
        self.assertTrue(repo_transport.has('obsolete_packs'))