@override_settings(EMAIL_BACKEND='post_office.EmailBackend')
    def test_headers_sent(self):
        message = EmailMessage('subject', 'body', 'from@example.com',
                               ['recipient@example.com'],
                               headers={'Reply-To': 'reply@example.com'})
        message.send()
        email = Email.objects.latest('id')
        self.assertEqual(email.headers, {'Reply-To': 'reply@example.com'})
Get a single message from the AMQP broker. Returns a sequence with
dataset/ETHPy150Open ui/django-post_office/post_office/tests/test_backends.py/BackendTest.test_headers_sent--crossover with--dataset/ETHPy150Open pika/pika/pika/adapters/blocking_connection.py/BlockingChannel.basic_get