def test_outgoing_keys(self):
        message = self.create_outgoing_message()
        config = {"sendsms_url": "http://example.com"}
        backend = VumiBackend(None, "vumi", **config)
        kwargs = backend.prepare_request(message.id, message.text,
                                         [message.connections[0].identity], {})
        self.assertEqual(kwargs['url'], config['sendsms_url'])
        data = json.loads(kwargs['data'])
        self.assertEqual(data['to_addr'], [message.connections[0].identity])
        self.assertEqual(data['content'], message.text)
Determind LP coefficient using backward-forward linear prediction.
dataset/ETHPy150Open rapidsms/rapidsms/rapidsms/backends/vumi/tests.py/VumiSendTest.test_outgoing_keys--crossover with--dataset/ETHPy150Open jjhelmus/nmrglue/nmrglue/process/proc_lp.py/find_lpc_bf