https://github.com/iamthegoodbot/sailplay-test/blob/master/backend/README.md
from messaging.email import Email
email = Email('[email protected]', 'Hello gmail! I have an offer for you.')
email.send()
>>> {'email': "[email protected]", 'content': 'Hello gmail!'}- Install test requirements using
pip install -r requirements-test.txt. - run
python -m pytest --cov=messaging --cov-report=htmlfor unit tests and coverage report. - run
python -m mypy messagingfor static type checking. - run
python -m isort -rc messaging --check-onlyfor check imports order.