5 # create a new maildir mailbox to work with:
6 curdir
= os
.path
.join(test_support
.TESTFN
, "cur")
7 newdir
= os
.path
.join(test_support
.TESTFN
, "new")
9 os
.mkdir(test_support
.TESTFN
)
13 # Test for regression on bug #117490:
14 # http://sourceforge.net/bugs/?func=detailbug&bug_id=117490&group_id=5470
15 # Make sure the boxes attribute actually gets set.
16 mbox
= mailbox
.Maildir(test_support
.TESTFN
)
18 print "newly created maildir contains", len(mbox
.boxes
), "messages"
20 # XXX We still need more tests!
27 try: os
.rmdir(test_support
.TESTFN
)