def setUp(self): from pyproxyfs import TestFS client = MdClient( "/var/maildir/testmaildir", filesystem=TestFS({ "/var/maildir/testmaildir/cur/": "", "/var/maildir/testmaildir/new/1270028940.V801Ie8c95dM583793.hostname.domain.tld": TESTMSG1, "/var/maildir/testmaildir/.special/cur/": "", "/var/maildir/testmaildir/.special/new/": "", "/var/maildir/testmaildir/.special/new/1270028941.V801Ie8c95dM583793.hostname": TESTMSG2, })) self.client = client
def setUp(self): from pyproxyfs import TestFS folder = MdFolder( "testmaildir", base="/var/maildir", filesystem=TestFS({ "/var/maildir/testmaildir/cur/": "", "/var/maildir/testmaildir/new/1270028940.V801Ie8c95dM583793.hostname": TESTMSG1, "/var/maildir/testmaildir/.special/cur/": "", "/var/maildir/testmaildir/.special/new/": "", "/var/maildir/testmaildir/.special/new/1270028940.V801Ie8c95dM583793.hostname": TESTMSG2, })) self.folder = folder