docker-offlineimap/test
Rodolfo García Peñas (kix) 2b2994d68e Remove asssert in OLI test 3
We cannot use this assert, becasue the returned value of res is:

ERROR: getfolder() asked for a nonexisting folder 'INBOX.OLItest'.
ERROR: Exceptions occurred during the run!
ERROR: getfolder() asked for a nonexisting folder 'INBOX.OLItest'.

So, if we have an assert, to compare 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().
2020-10-25 19:17:19 +01:00
..
OLItest Test delete_remote_testfolders updated to python3 2020-10-25 19:09:30 +01:00
tests Remove asssert in OLI test 3 2020-10-25 19:17:19 +01:00
__init__.py Adapt imports so that test/OLItest can be imported 2012-01-19 10:32:05 +01:00
.gitignore Autmomated testing using Travis and CodeCov.io! 2018-03-05 19:31:51 +01:00
credentials.conf.sample Add initial skeleton for a testing framework 2012-01-19 10:32:05 +01:00
README Updated test README file 2020-10-25 15:46:54 +01:00

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.