summaryrefslogtreecommitdiff
path: root/README.rst
blob: 81b4cec9bfa21887de710331ca420d16da58d502 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
leap.mail
=========
Mail services for the LEAP Client.

.. image:: https://pypip.in/v/leap.mail/badge.png
        :target: https://crate.io/packages/leap.mail

.. image:: https://readthedocs.org/projects/leapmail/badge/?version=latest
         :target: http://leapmail.readthedocs.org/en/latest/
         :alt: Documentation Status

More info: https://leap.se

running tests
-------------

Use trial to run the test suite::

  trial leap.mail

... and all its goodies. To run all imap tests in a loop until some of them
fails::

  trial -u leap.mail.imap

Read the *trial* manpage for more options .

imap regressions
----------------

For testing the IMAP server implementation, there are a couple of utilities.
From the ``leap.mail.imap.tests`` folder, and with an already initialized server
running::

  ./regressions_mime_struct user@provider pass path_to_samples/

You can find several message samples in the ``leap/mail/tests`` folder.