skip/skipIf/skipUnless don't work as class decorators
Bug #1529047 reported by
Jonathan Lange
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testtools |
Fix Committed
|
Wishlist
|
Zane Bitter |
Bug Description
If you want to skip all the tests in a class:
class FooTests(TestCase):
def setUp(self):
This is a bit tedious.
I think I want a class decorator.
Changed in testtools: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
summary: |
- Skipping all tests in a class is awkward + skip/skipIf/skipUnless don't work as class decorators |
Changed in testtools: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
I thought the decorators did work on classes? They do in unittest which we largely derive from.