Create local 'OLItest 1', sync
(self)
| 61 | boxes, mails)) |
| 62 | |
| 63 | def test_02_createdir(self): |
| 64 | """Create local 'OLItest 1', sync""" |
| 65 | OLITestLib.delete_maildir('') #Delete all local maildir folders |
| 66 | OLITestLib.create_maildir('INBOX.OLItest 1') |
| 67 | code, res = OLITestLib.run_OLI() |
| 68 | self.assertEqual(res, "") |
| 69 | boxes, mails = OLITestLib.count_maildir_mails('') |
| 70 | self.assertTrue((boxes, mails)==(1,0), msg="Expected 1 folders and 0 " |
| 71 | "mails, but sync led to {0} folders and {1} mails".format( |
| 72 | boxes, mails)) |
| 73 | |
| 74 | def test_03_createdir_quote(self): |
| 75 | """Create local 'OLItest "1"' maildir, sync |
nothing calls this directly
no test coverage detected