Move comment_client into django_comment_common

This commit is contained in:
Nimisha Asthagiri
2019-04-29 00:26:02 -04:00
parent 38aeafefb0
commit 16edae0822
33 changed files with 76 additions and 74 deletions

View File

@@ -768,8 +768,11 @@ class TestCreateAccountValidation(TestCase):
@mock.patch.dict("student.models.settings.FEATURES", {"ENABLE_DISCUSSION_SERVICE": True})
@mock.patch("lms.lib.comment_client.User.base_url", TEST_CS_URL)
@mock.patch("lms.lib.comment_client.utils.requests.request", return_value=mock.Mock(status_code=200, text='{}'))
@mock.patch("django_comment_common.comment_client.User.base_url", TEST_CS_URL)
@mock.patch(
"django_comment_common.comment_client.utils.requests.request",
return_value=mock.Mock(status_code=200, text='{}')
)
class TestCreateCommentsServiceUser(TransactionTestCase):
""" Tests for creating comments service user. """