Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#14254 closed (fixed)

More tests for storage backends

Reported by: steph Owned by: Tobias McNulty
Component: File uploads/storage Version: 1.2
Severity: Keywords: tests
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

While working on a proposal to extend the storage backends, I recognised that some methods of the storage backends are not tested.

I just added tests to cover all methods of the backend to this ticket. I'm looking forward to see this committed.

Attachments (2)

storage_tests.diff (6.2 KB ) - added by steph 14 years ago.
Patch to add more tests.
storage_tests_updated.diff (6.3 KB ) - added by Tobias McNulty 14 years ago.
updated tests to not care about listdir() ordering & properly clean up temp dirs

Download all attachments as: .zip

Change History (6)

by steph, 14 years ago

Attachment: storage_tests.diff added

Patch to add more tests.

comment:1 by Tobias McNulty, 14 years ago

Owner: changed from nobody to Tobias McNulty
Status: newassigned

by Tobias McNulty, 14 years ago

Attachment: storage_tests_updated.diff added

updated tests to not care about listdir() ordering & properly clean up temp dirs

comment:2 by Tobias McNulty, 14 years ago

Triage Stage: UnreviewedReady for checkin

seems reasonable enough to me

comment:3 by Luke Plant, 14 years ago

Resolution: fixed
Status: assignedclosed

(In [13852]) Fixed #14254 - More tests for storage backends

Thanks to steph for the patch, also to tobias for cleanups.

comment:4 by Luke Plant, 14 years ago

(In [13854]) [1.2.X] Fixed #14254 - More tests for storage backends

Thanks to steph for the patch, also to tobias for cleanups.

Backport of [13852] from trunk

Note: See TracTickets for help on using tickets.
Back to Top