Opened 16 years ago
Closed 16 years ago
#10676 closed (fixed)
new test methodology (db rollback rather than reset) causes error when parameters passed to transaction methods
Reported by: | Sean Legassick | Owned by: | Karen Tracey |
---|---|---|---|
Component: | Testing framework | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Basically the assignment of 'nop' to the various transaction-management methods has a problem in the case of 'enter_transaction_management' which can accept a 'managed' argument whereas 'nop' only accepts 'x'. The easy solution is to make 'nop' accept any args/kwargs (see attached patch).
Attachments (1)
Change History (3)
by , 16 years ago
Attachment: | 10676-testcase-nop-accepts-any-args.diff added |
---|
comment:1 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Triage Stage: | Unreviewed → Accepted |
Version: | 1.0 → SVN |
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Right. Thanks for pointing that out. I'll fix it.