Skip to content

Commit

Permalink
Unisender Go: Fix failing test and fix docs typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Arondit committed Jan 12, 2024
1 parent ef75750 commit 441c884
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/esps/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ meaningless. (And even specific features don't matter if you don't plan to use t
.. |Postmark| replace:: :ref:`postmark-backend`
.. |Resend| replace:: :ref:`resend-backend`
.. |SendGrid| replace:: :ref:`sendgrid-backend`
.. |Unisender Go|| replace:: :ref:`unisender-backend`
.. |Unisender Go| replace:: :ref:`unisender-backend`
.. |SparkPost| replace:: :ref:`sparkpost-backend`
.. |AnymailTrackingEvent| replace:: :class:`~anymail.signals.AnymailTrackingEvent`
.. |AnymailInboundEvent| replace:: :class:`~anymail.signals.AnymailInboundEvent`
Expand Down
2 changes: 1 addition & 1 deletion docs/esps/unisender_go.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. _sparkpost-backend:
.. _unisender-backend:

Unisender Go
=============
Expand Down
4 changes: 4 additions & 0 deletions tests/test_unisender_go_payload.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class TestUnisenderGoPayload(SimpleTestCase):
@override_settings(
ANYMAIL_UNISENDERGO_SKIP_UNSUBSCRIBE=False,
ANYMAIL_UNISENDERGO_API_KEY=None,
ANYMAIL_UNISENDERGO_API_URL="",
)
def test_unisender_go_payload__full(self):
substitutions = {TO_EMAIL: SUBSTITUTION_ONE, OTHER_TO_EMAIL: SUBSTITUTION_TWO}
Expand Down Expand Up @@ -60,6 +61,7 @@ def test_unisender_go_payload__full(self):
@override_settings(
ANYMAIL_UNISENDERGO_SKIP_UNSUBSCRIBE=False,
ANYMAIL_UNISENDERGO_API_KEY=None,
ANYMAIL_UNISENDERGO_API_URL="",
)
def test_unisender_go_payload__parse_from__with_name(self):
email = AnymailMessageMixin(
Expand All @@ -85,6 +87,7 @@ def test_unisender_go_payload__parse_from__with_name(self):
@override_settings(
ANYMAIL_UNISENDERGO_SKIP_UNSUBSCRIBE=False,
ANYMAIL_UNISENDERGO_API_KEY=None,
ANYMAIL_UNISENDERGO_API_URL="",
)
def test_unisender_go_payload__parse_from__without_name(self):
email = AnymailMessageMixin(
Expand All @@ -110,6 +113,7 @@ def test_unisender_go_payload__parse_from__without_name(self):
@override_settings(
ANYMAIL_UNISENDERGO_SKIP_UNSUBSCRIBE=True,
ANYMAIL_UNISENDERGO_API_KEY=None,
ANYMAIL_UNISENDERGO_API_URL="",
)
def test_unisender_go_payload__parse_from__with_unsub(self):
email = AnymailMessageMixin(
Expand Down

0 comments on commit 441c884

Please sign in to comment.