b.t.t._InvalidHostnameFeature(features.Feature) : class documentation

Part of bzrlib.tests.test_smart_transport View In Hierarchy

Does 'non_existent.invalid' fail to resolve?

RFC 2606 states that .invalid is reserved for invalid domain names, and also underscores are not a valid character in domain names. Despite this, it's possible a badly misconfigured name server might decide to always return an address for any name, so this feature allows us to distinguish a broken system from a broken test.

Method feature_name Undocumented
Method _probe Implement this method in concrete features.

Inherited from Feature:

Method __init__ Undocumented
Method available Is the feature available?
Method __str__ Undocumented
def _probe(self):
Implement this method in concrete features.
ReturnsTrue if the feature is available.
def feature_name(self):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2019-10-15 00:33:37.