Mercurial > libervia-backend
diff doc/contribuing/testing.rst @ 3431:5d7569378914
doc (testing): typos
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 04 Dec 2020 12:27:38 +0100 |
parents | 4ba31dd1f0f5 |
children | b166a59b1724 |
line wrap: on
line diff
--- a/doc/contribuing/testing.rst Fri Nov 27 16:40:26 2020 +0100 +++ b/doc/contribuing/testing.rst Fri Dec 04 12:27:38 2020 +0100 @@ -111,7 +111,7 @@ ``sent_emails`` When used, a fake SMTP server (already configured in container's ``sat.conf``) will be - launched if it's not already, and all message sent to it since the beginning of the test + launched if it's not already, and all messages sent to it since the beginning of the test will be available in the given list. Message are subclasses of ``email.message.EmailMessage`` with the extra properties ``from_``, ``to``, ``subject`` and ``body`` available for easy access to their content. @@ -207,7 +207,7 @@ …then to go into the ``sat`` container and work with the browser (to be run in ``docker`` directory)…:: - $ /sbin/docker-compose -f docker-compose_e2e.yml exec sat /bin/bash + $ docker-compose -f docker-compose_e2e.yml exec sat /bin/bash …and, inside the container, you can now run ``python3`` and enter instruction prints at the end of the test session.