~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart_transport.py

  • Committer: Martin Pool
  • Date: 2011-06-14 01:26:41 UTC
  • mto: (6034.2.1 integration)
  • mto: This revision was merged to the branch mainline in revision 6043.
  • Revision ID: mbp@canonical.com-20110614012641-dnb69zb57ae5je4w
Move all test features into bzrlib.tests.features

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
        vfs,
42
42
)
43
43
from bzrlib.tests import (
 
44
    features,
44
45
    test_smart,
45
46
    test_server,
46
47
    )
82
83
        return 'pipes', (self.vendor.read_from, self.vendor.write_to)
83
84
 
84
85
 
85
 
class _InvalidHostnameFeature(tests.Feature):
 
86
class _InvalidHostnameFeature(features.Feature):
86
87
    """Does 'non_existent.invalid' fail to resolve?
87
88
 
88
89
    RFC 2606 states that .invalid is reserved for invalid domain names, and