Opened 15 years ago
Closed 15 years ago
#1486 closed enhancement (fixed)
Add call to getUsingItems() in all TestFoo.test_delete() methods
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | major | Milestone: | BASE 2.16 |
Component: | test | Version: | |
Keywords: | Cc: |
Description
I think the getUsingItems() method is never called otherwise during regular testing and there are a lot of non-trivial queries in there. NOTE! All test cases should delete only items which has no other items using it, so it is expected that the method call always return an empty list.
Change History (3)
comment:1 by , 15 years ago
Milestone: | → BASE 2.16 |
---|
comment:2 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Something like this should be enough:
The call to
dc.deleteItem()
anddc.commit()
is already in the code.