class documentation

class TestOptions_service_location(TestCase): (source)

View In Hierarchy

Unit tests for Options_service_location.

Method test_parseOptions_default When no explicit options is provided it will set an empty dict.
Method test_parseOptions_invalid_DN It fails to parse the option when the base DN is not valid.
Method test_parseOptions_multiple It can have have multiple --service-location options and they are indexed using the base DN.
Method test_parseOptions_no_server It fails to parse the option when no host is defined, but only a base DN.
Method test_parseOptions_single It can have a single --service-location option.
def test_parseOptions_default(self): (source)

When no explicit options is provided it will set an empty dict.

def test_parseOptions_invalid_DN(self): (source)

It fails to parse the option when the base DN is not valid.

def test_parseOptions_multiple(self): (source)

It can have have multiple --service-location options and they are indexed using the base DN.

def test_parseOptions_no_server(self): (source)

It fails to parse the option when no host is defined, but only a base DN.

def test_parseOptions_single(self): (source)

It can have a single --service-location option.