txghbot.test.test_api.WebhookDispatchServiceMakerTests(unittest.TestCase) class documentationtxghbot.test.test_api
(View In Hierarchy)
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. |
The secret passed to txghbot._api.makeWebhookDispatchingResource
is retrieved from the path provided in the secret
configuration parameter.
The plugin path provided via the plugins configuration
parameter is searched for plugins.
Loaded plugins are passed as hooks to txghbot._api.makeWebhookDispatchingResource
twisted.application.strports.service
parses the port specification in port.