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

PulpQE / pulp-smash / 3001 / 4
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 19 Mar 2019 10:00PM UTC
Files 14
Run time 3s
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

19 Mar 2019 09:57PM UTC coverage: 64.172% (-0.2%) from 64.328%
3001.4

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%)

0.64 hits per line

Source Files on job 3001.4
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2787
  • Travis Job 3001.4
  • 07235dd8 on github
  • Prev Job for on master (#2993.4)
  • Next Job for on master (#3007.2)
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