'Test start when TLS is wanted and the SSL library available.'

def testWantedNotSupportedRequired(self):

    xmlstream.ssl = None
    self.init.required = True
    d = self.init.start()
    self.assertFailure(d, xmlstream.TLSNotSupported)
    self.assertEqual([], self.output)
    return d
