pytest thinks that every class that beings with "Test" contains unit tests and emits warnings about it:
```
tests/test_logging.py:42
/home/travis/build/alerta/alerta/tests/test_logging.py:42: PytestWarning: cannot collect test class 'TestJsonWebhook' because it has a __init__ constructor
class TestJsonWebhook(WebhookBase):
tests/test_webhooks.py:888
/home/travis/build/alerta/alerta/tests/test_webhooks.py:888: PytestWarning: cannot collect test class 'TestJsonWebhook' because it has a __init__ constructor
class TestJsonWebhook(WebhookBase):
tests/test_webhooks.py:899
/home/travis/build/alerta/alerta/tests/test_webhooks.py:899: PytestWarning: cannot collect test class 'TestTextWebhook' because it has a __init__ constructor
class TestTextWebhook(WebhookBase):
tests/test_webhooks.py:910
/home/travis/build/alerta/alerta/tests/test_webhooks.py:910: PytestWarning: cannot collect test class 'TestFormWebhook' because it has a __init__ constructor
class TestFormWebhook(WebhookBase):
tests/test_webhooks.py:921
/home/travis/build/alerta/alerta/tests/test_webhooks.py:921: PytestWarning: cannot collect test class 'TestMultiPartFormWebhook' because it has a __init__ constructor
class TestMultiPartFormWebhook(WebhookBase):
tests/test_webhooks.py:932
/home/travis/build/alerta/alerta/tests/test_webhooks.py:932: PytestWarning: cannot collect test class 'TestUserDefinedWebhook' because it has a __init__ constructor
class TestUserDefinedWebhook(WebhookBase):
```
https://travis-ci.org/alerta/alerta/jobs/571685340#L451
tests/test_plugins.py:182
alerta/tests/test_plugins.py:182: PytestWarning: cannot collect test class 'TestPlugin1' because it has a __init__ constructor
class TestPlugin1(PluginBase):
tests/test_plugins.py:202
alerta/tests/test_plugins.py:202: PytestWarning: cannot collect test class 'TestPlugin2' because it has a __init__ constructor
class TestPlugin2(PluginBase):
tests/test_plugins.py:217
alerta/tests/test_plugins.py:217: PytestWarning: cannot collect test class 'TestPlugin3' because it has a __init__ constructor
class TestPlugin3(PluginBase):
tests/test_plugins.py:236
alerta/tests/test_plugins.py:236: PytestWarning: cannot collect test class 'TestActionPlugin1' because it has a __init__ constructor
class TestActionPlugin1(PluginBase):
tests/test_plugins.py::PluginsTestCase::test_reject_alert
alerta/tests/test_plugins.py:84: DeprecationWarning: Please use assertRegex instead.
self.assertRegexpMatches(data['id'], '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}')
tests/test_plugins.py::PluginsTestCase::test_status_update
alerta/tests/test_plugins.py:93: DeprecationWarning: Please use assertRegex instead.
self.assertRegexpMatches(data['id'], '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}')