diff --git a/common/djangoapps/terrain/stubs/tests/test_xqueue_stub.py b/common/djangoapps/terrain/stubs/tests/test_xqueue_stub.py index a7d82c083f..4187cbfb80 100644 --- a/common/djangoapps/terrain/stubs/tests/test_xqueue_stub.py +++ b/common/djangoapps/terrain/stubs/tests/test_xqueue_stub.py @@ -115,19 +115,6 @@ class StubXQueueServiceTest(unittest.TestCase): self.assertFalse(self.post.called) self.assertTrue(logger.error.called) - def test_register_submission_url(self): - # Configure the XQueue stub to notify another service - # when it receives a submission. - register_url = 'http://127.0.0.1:8000/register_submission' - self.server.config['register_submission_url'] = register_url - - callback_url = 'http://127.0.0.1:8000/test_callback' - submission = json.dumps({'grader_payload': 'test payload'}) - self._post_submission(callback_url, 'test_queuekey', 'test_queue', submission) - - # Check that a notification was sent - self.post.assert_any_call(register_url, data={'grader_payload': u'test payload'}) - def _post_submission(self, callback_url, lms_key, queue_name, xqueue_body): """ Post a submission to the stub XQueue implementation. diff --git a/common/djangoapps/terrain/stubs/xqueue.py b/common/djangoapps/terrain/stubs/xqueue.py index ad66ce2ba3..0f128fba65 100644 --- a/common/djangoapps/terrain/stubs/xqueue.py +++ b/common/djangoapps/terrain/stubs/xqueue.py @@ -39,7 +39,8 @@ class StubXQueueHandler(StubHttpRequestHandler): if self._is_grade_request(): # If configured, send the grader payload to other services. - self._register_submission(self.post_dict['xqueue_body']) + # TODO TNL-3906 + # self._register_submission(self.post_dict['xqueue_body']) try: xqueue_header = json.loads(self.post_dict['xqueue_header'])