~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_selftest.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-02-10 18:29:50 UTC
  • mfrom: (4988.9.3 warn-experimental-formats)
  • Revision ID: pqm@pqm.ubuntu.com-20100210182950-7fdfub9g9a2lplf3
(Jelmer) Warn about fetching into experimental formats.

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
    )
63
63
from bzrlib.tests import (
64
64
    features,
 
65
    stub_sftp,
65
66
    test_lsprof,
66
67
    test_sftp_transport,
67
68
    TestUtil,
1948
1949
 
1949
1950
    def test_transport_sftp(self):
1950
1951
        self.requireFeature(features.paramiko)
1951
 
        self.check_transport_set(bzrlib.transport.sftp.SFTPAbsoluteServer)
 
1952
        self.check_transport_set(stub_sftp.SFTPAbsoluteServer)
1952
1953
 
1953
1954
    def test_transport_memory(self):
1954
1955
        self.check_transport_set(bzrlib.transport.memory.MemoryServer)
2400
2401
 
2401
2402
 
2402
2403
simple_thunk_feature = tests._CompatabilityThunkFeature(
2403
 
    'bzrlib.tests', 'UnicodeFilename',
2404
 
    'bzrlib.tests.test_selftest.simple_thunk_feature',
2405
 
    deprecated_in((2,1,0)))
 
2404
    deprecated_in((2, 1, 0)),
 
2405
    'bzrlib.tests.test_selftest',
 
2406
    'simple_thunk_feature','UnicodeFilename',
 
2407
    replacement_module='bzrlib.tests'
 
2408
    )
2406
2409
 
2407
2410
class Test_CompatibilityFeature(tests.TestCase):
2408
2411
 
2413
2416
            simple_thunk_feature.available)
2414
2417
        self.assertEqual(tests.UnicodeFilename.available(), res)
2415
2418
 
2416
 
        
 
2419
 
2417
2420
class TestModuleAvailableFeature(tests.TestCase):
2418
2421
 
2419
2422
    def test_available_module(self):