mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 03:41:05 -05:00
Add inbound mail handling
Add normalized event, signal, and webhooks for inbound mail. Closes #43 Closes #86
This commit is contained in:
@@ -64,6 +64,12 @@ class WebhookTestCase(AnymailTestMixin, SimpleTestCase):
|
||||
self.assertEqual(actual_kwargs[key], expected_value)
|
||||
return actual_kwargs
|
||||
|
||||
def get_kwargs(self, mockfn):
|
||||
"""Return the kwargs passed to the most recent call to mockfn"""
|
||||
self.assertIsNotNone(mockfn.call_args) # mockfn hasn't been called yet
|
||||
actual_args, actual_kwargs = mockfn.call_args
|
||||
return actual_kwargs
|
||||
|
||||
|
||||
# noinspection PyUnresolvedReferences
|
||||
class WebhookBasicAuthTestsMixin(object):
|
||||
|
||||
Reference in New Issue
Block a user