def test_valid_response_post(self):
        response = self.client.post(reverse('vumi-backend'),
                                    json.dumps(self.valid_data),
                                    content_type='text/json')
        self.assertEqual(response.status_code, 200)
HTTP 200 should return if data is valid.
dataset/ETHPy150Open rapidsms/rapidsms/rapidsms/backends/vumi/tests.py/VumiViewTest.test_valid_response_post