• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

alerta / alerta / 3324
40%

Build:
DEFAULT BRANCH: master
Ran 14 Aug 2019 08:00PM UTC
Jobs 6
Files 93
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
3324

push

travis-ci

satterly
Fix pytest warnings. (#1066)

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

4885 of 6580 relevant lines covered (74.24%)

4.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3324.1 (DB=mongodb DATABASE_URL=mongodb://localhost:27017/alerta5) 14 Aug 2019 08:01PM UTC 0
67.71
Travis Job 3324.1
2 3324.2 (DB=mongodb DATABASE_URL=mongodb://localhost:27017/alerta5) 14 Aug 2019 08:00PM UTC 0
67.71
Travis Job 3324.2
3 3324.3 (DB=mongodb DATABASE_URL=mongodb://localhost:27017/alerta5) 14 Aug 2019 08:00PM UTC 0
67.71
Travis Job 3324.3
4 3324.4 (DB=postgres DATABASE_URL=postgres://localhost:5432/alerta5) 14 Aug 2019 08:00PM UTC 0
68.54
Travis Job 3324.4
5 3324.5 (DB=postgres DATABASE_URL=postgres://localhost:5432/alerta5) 14 Aug 2019 08:00PM UTC 0
68.54
Travis Job 3324.5
6 3324.6 (DB=postgres DATABASE_URL=postgres://localhost:5432/alerta5) 14 Aug 2019 08:03PM UTC 0
68.54
Travis Job 3324.6
Source Files on build 3324
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3324
  • 9a0c44d8 on github
  • Prev Build on master (#3322)
  • Next Build on master (#3326)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc