Closed foltik closed 4 years ago
@Kironb Build fails with:
tests/test_maglink.py:6: in <module>
import maglink
maglink.py:6: in <module>
import use_sparkpost
use_sparkpost.py:8: in <module>
emails = SparkPost(config.SPARKPOST_KEY)
../../../virtualenv/python3.6.6/lib/python3.6/site-packages/sparkpost/__init__.py:24: in __init__
raise SparkPostException("No API key. Improve message.")
E sparkpost.exceptions.SparkPostException: No API key. Improve message.
Is SPARKPOST_KEY
set in the Travis env? It doesn't have to actually be the real key since I mocked the API calls.
I went and set SPARKPOST_KEY in Travis so everything passed.
Add tests for magic link generation and improve authorization test coverage