610
610
test = TestDanglingLock('test_function')
612
613
if self._lock_check_thorough:
615
616
# When _lock_check_thorough is disabled, then we don't trigger a
620
621
class TestTestCaseWithTransport(tests.TestCaseWithTransport):
621
622
"""Tests for the convenience functions TestCaseWithTransport introduces."""
623
624
def test_get_readonly_url_none(self):
625
625
from bzrlib.transport.readonly import ReadonlyTransportDecorator
626
626
self.vfs_transport_factory = memory.MemoryServer
627
627
self.transport_readonly_server = None