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

PulpQE / pulp-smash / 3001
63%

Build:
DEFAULT BRANCH: master
Ran 19 Mar 2019 09:59PM UTC
Jobs 4
Files 14
Run time 1min
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
3001

push

travis-ci

rochacbruno
Add `ensure_teardownclass` context manager to pulp_smash.utils

Unittest will not execute tearDownClass if an error occurs on classmethods
this contextmanager will ensure that method is executed in case of error.

Usage:

```py
@classmethod
def setUpClass(cls):
    with ensure_teardownclass(cls):
        1 / 0  # raises ZeroDivisionError
```

without `ensure_teardownclass` after that exception, tearDownClass
would never be executed, but the context manager ensure it.

763 of 1189 relevant lines covered (64.17%)

2.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3001.1 19 Mar 2019 09:59PM UTC 0
64.17
Travis Job 3001.1
2 3001.2 19 Mar 2019 09:59PM UTC 0
64.17
Travis Job 3001.2
3 3001.3 19 Mar 2019 09:59PM UTC 0
64.17
Travis Job 3001.3
4 3001.4 19 Mar 2019 10:00PM UTC 0
64.17
Travis Job 3001.4
Source Files on build 3001
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3001
  • 07235dd8 on github
  • Prev Build on master (#2993)
  • Next Build on master (#3007)
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