'Make sure that answer for incorrect request is error json'

def test_bad_ajax_request(self):

    response = self.ajax_request('bad_dispatch', {})
    self.assertDictEqual(response, {'status': 'fail', 'error': 'Unknown    Command!'})
