List.no_tombstones: make sure tombstones for regular mailboxes aren't included in LIST or XLIST results
List.no_inbox_tombstone: make sure a tombstone for an INBOX isn't included in LIST or XLIST results
The latter exposes a bug in 2.5. Otherwise, these are just regression tests.
It also adds setup_mailbox_structure() and assert_mailbox_structure() methods to TestCase, where they can be used by other suites -- they were previously internal to the List suite. This doesn't help us immediately, but I already have a couple of other WIP branches that depend on this commit, so it would be nice to get it upstream where I no longer have to juggle it around.
Edit: oh, and it also adds a read_mailboxes_db() method to Instance, which is needed for these tests, and also for some other WIP stuff I have
Edit2: also fixes a bug in run_dbcommand(), which I found and fixed while trying to convert read_mailboxes_db() to use that rather than ctl_mboxlist -d. I've given up on that for the time being but the bug can still be fixed!
This adds two tests:
The latter exposes a bug in 2.5. Otherwise, these are just regression tests.
It also adds
setup_mailbox_structure()
andassert_mailbox_structure()
methods to TestCase, where they can be used by other suites -- they were previously internal to the List suite. This doesn't help us immediately, but I already have a couple of other WIP branches that depend on this commit, so it would be nice to get it upstream where I no longer have to juggle it around.Edit: oh, and it also adds a
read_mailboxes_db()
method to Instance, which is needed for these tests, and also for some other WIP stuff I haveEdit2: also fixes a bug in
run_dbcommand()
, which I found and fixed while trying to convertread_mailboxes_db()
to use that rather thanctl_mboxlist -d
. I've given up on that for the time being but the bug can still be fixed!