~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_repository/test_write_group.py

  • Committer: Martin Pool
  • Date: 2010-02-25 06:17:27 UTC
  • mfrom: (5055 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5057.
  • Revision ID: mbp@sourcefrog.net-20100225061727-4sd9lt0qmdc6087t
merge news

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2007 Canonical Ltd
 
1
# Copyright (C) 2007-2010 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
29
29
    tests,
30
30
    versionedfile,
31
31
    )
32
 
from bzrlib.transport import local, memory
33
 
from bzrlib.tests import per_repository
 
32
from bzrlib.tests import (
 
33
    per_repository,
 
34
    test_server,
 
35
    )
 
36
from bzrlib.transport import memory
34
37
 
35
38
 
36
39
class TestWriteGroup(per_repository.TestCaseWithRepository):
114
117
        repo.unlock()
115
118
 
116
119
    def test_abort_write_group_does_not_raise_when_suppressed(self):
117
 
        if self.transport_server is local.LocalURLServer:
 
120
        if self.transport_server is test_server.LocalURLServer:
118
121
            self.transport_server = None
119
122
        self.vfs_transport_factory = memory.MemoryServer
120
123
        repo = self.make_repository('repo')