Opened 12 years ago
Closed 11 years ago
#18551 closed New feature (fixed)
skipIfDBFeature/skipUnlessDBFeature cannot be used as class decorators
Reported by: | Claude Paroz | Owned by: | nobody |
---|---|---|---|
Component: | Testing framework | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
It would be nice to be able to skip an entire test class with skipIfDBFeature/skipUnlessDBFeature decorators.
Attachments (3)
Change History (9)
by , 12 years ago
Attachment: | 18551.diff added |
---|
comment:1 by , 12 years ago
Has patch: | set |
---|
comment:2 by , 12 years ago
Patch needs improvement: | set |
---|
Obviously the condition is not deferred enough in the "decorator()" definition. Needs more work...
comment:3 by , 12 years ago
Patch needs improvement: | unset |
---|
comment:4 by , 12 years ago
Triage Stage: | Unreviewed → Accepted |
---|
by , 11 years ago
Attachment: | 18551-3.diff added |
---|
comment:5 by , 11 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
Updated the patch to apply cleanly and get the tests passing on PY3.
comment:6 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Allow skipUnlessDBFeature / skipIfDBFeature to decorate a class