From 5c855bdc7bdb68a38ede37b5912317a90e90b2c9 Mon Sep 17 00:00:00 2001 From: Peter Fogg Date: Thu, 20 Aug 2015 15:15:14 -0400 Subject: [PATCH] Fix quality violation. --- lms/djangoapps/django_comment_client/base/tests.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lms/djangoapps/django_comment_client/base/tests.py b/lms/djangoapps/django_comment_client/base/tests.py index 3091b78217..0b48675e31 100644 --- a/lms/djangoapps/django_comment_client/base/tests.py +++ b/lms/djangoapps/django_comment_client/base/tests.py @@ -322,7 +322,10 @@ class ViewsTestCaseMixin(object): # the thread did, overwriting any changes. with patch.object(Thread, 'save'): response = self.client.post( - reverse("update_thread", kwargs={"thread_id": "dummy", "course_id": self.course_id.to_deprecated_string()}), + reverse("update_thread", kwargs={ + "thread_id": "dummy", + "course_id": self.course_id.to_deprecated_string() + }), data={"body": "foo", "title": "foo", "commentable_id": "some_topic"} ) self.assertEqual(response.status_code, 200)