'Test for invalid json being posted by software secure.'

def test_invalid_json(self):

    data = {'Testing    invalid'}
    response = self.client.post(reverse('verify_student_results_callback'), data=data, content_type='application/json', HTTP_AUTHORIZATION='test    BBBBBBBBBBBBBBBBBBBB:    testing', HTTP_DATE='testdate')
    self.assertIn('Invalid    JSON', response.content)
    self.assertEqual(response.status_code, 400)
