moo.core.tests.test_soft_delete

Tests for non-destructive recovery: soft-delete / restore (spec 200, item K).

Functions

test_destroy_is_permanent(t_init, t_wizard)

test_get_recycled_lists_for_owner(t_init, ...)

test_restore_brings_object_back(t_init, t_wizard)

test_soft_recycle_hides_but_keeps_identity(...)

test_soft_recycle_refunds_quota_once(t_init, ...)

test_sweep_purges_old_recycled(t_init, t_wizard)