mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 20:01:05 -05:00
Move all the payload construction into Payload classes
This commit is contained in:
@@ -29,7 +29,7 @@ class DjrillBackendMockAPITestCase(TestCase):
|
||||
self.raw = six.BytesIO(raw)
|
||||
|
||||
def setUp(self):
|
||||
self.patch = patch('requests.Session.post', autospec=True)
|
||||
self.patch = patch('requests.Session.request', autospec=True)
|
||||
self.mock_post = self.patch.start()
|
||||
self.mock_post.return_value = self.MockResponse()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user