'May be overridden by subclasses to select SSL options.
By default includes a self-signed testing certificate.'

def get_ssl_options(self):

    module_dir = os.path.dirname(__file__)
    return dict(certfile=os.path.join(module_dir, 'test', 'test.crt'), keyfile=os.path.join(module_dir, 'test', 'test.key'))
