3231e731d8
We cannot use this assert, becasue the returned value of res is: ERROR: Account test: no folder to sync (f[388 chars]\n\n' != '' - ERROR: Account test: no folder to sync (folderfilter issue?) - ERROR: Exceptions occurred during the run! - ERROR: Account test: no folder to sync (folderfilter issue?) So, if we have an assert to test if the string is empty, the test stops here. We can check if we have or not folder in the next check (count_maildir_mails(). |
||
---|---|---|
.. | ||
OLItest | ||
tests | ||
__init__.py | ||
.gitignore | ||
credentials.conf.sample | ||
README |
Documentation for the OfflineImap Test suite. How to run the tests ==================== - Copy the credentials.conf.sample to credentials.conf and insert credentials for an IMAP account and a Gmail account. Delete the Gmail section if you don't have a Gmail account. Do note, that the tests will change the account and upload/delete/modify it's contents and folder structure. So don't use a real used account here... - go to the top level dir (one above this one) and execute: 'python3 setup.py test' System requirements =================== This test suite depend on python 3 to run out of the box.