docker-offlineimap/test
Sebastian Spaeth d6da65b18f tests: Fix test #4
1) Fix test #4 by deleting all local mailfolders remaining from previous
tests, the mailfolder count will be off, otherwise.

2) Make folder deletion work in python3, it weirdly enough needs to be
quoted like this to work in python3 (I found a python bug about this
somewhere).

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2012-02-27 16:35:17 +01:00
..
OLItest tests: Fix test #4 2012-02-27 16:35:17 +01:00
tests tests: Fix test #4 2012-02-27 16:35:17 +01:00
__init__.py Adapt imports so that test/OLItest can be imported 2012-01-19 10:32:05 +01:00
.gitignore Add initial skeleton for a testing framework 2012-01-19 10:32:05 +01:00
credentials.conf.sample Add initial skeleton for a testing framework 2012-01-19 10:32:05 +01:00
README Add "test" command to setup.py 2012-01-19 10:32:05 +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:
  'python setup.py test'

System requirements
===================

This test suite depend on python>=2.7 to run out of the box. If you want to run this with python 2.6 you will need to install the backport from http://pypi.python.org/pypi/unittest2 instead.