Tests for txghbot._api.WebhookDispatchServiceMaker

Method setUp Undocumented
Method fakeReadSecret Undocumented
Method fakeGetModule Undocumented
Method fakeGetPlugins Undocumented
Method fakeMakeWebhookDR Undocumented
Method fakeSite Undocumented
Method fakeStrportsService Undocumented
Method test_missingSecret "A RuntimeError is raised when the secret parameter is not provided."
Method test_secretRead No summary
Method test_pluginPathProvided The plugin path provided via the plugins configuration parameter is searched for plugins.
Method test_defaultPluginPath The plugin path configuration parameter is not required
Method test_pluginsPassedAsHooks Loaded plugins are passed as hooks to txghbot._api.makeWebhookDispatchingResource
Method test_logfileProvided The logfile configuration parameter is honored.
Method test_defaultLogfile The logfile configuration parameter is not required.
Method test_strportsServiceCreated twisted.application.strports.service parses the port specification in port.
def setUp(self):
Undocumented
def fakeReadSecret(self, path):
Undocumented
def fakeGetModule(self, fqpn):
Undocumented
def fakeGetPlugins(self, interface, path=None):
Undocumented
def fakeMakeWebhookDR(self, secret, hook):
Undocumented
def fakeSite(self, root, logPath=None):
Undocumented
def fakeStrportsService(self, port, site):
Undocumented
def test_missingSecret(self):

"A RuntimeError is raised when the secret parameter is not provided."

def test_secretRead(self):

The secret passed to txghbot._api.makeWebhookDispatchingResource is retrieved from the path provided in the secret configuration parameter.

def test_pluginPathProvided(self):

The plugin path provided via the plugins configuration parameter is searched for plugins.

def test_defaultPluginPath(self):

The plugin path configuration parameter is not required

def test_pluginsPassedAsHooks(self):

Loaded plugins are passed as hooks to txghbot._api.makeWebhookDispatchingResource

def test_logfileProvided(self):

The logfile configuration parameter is honored.

def test_defaultLogfile(self):

The logfile configuration parameter is not required.

def test_strportsServiceCreated(self):

twisted.application.strports.service parses the port specification in port.

API Documentation for txghbot, generated by pydoctor at 2016-10-15 18:50:32.