From 83b24e045327fc63fc4287e9f62ae9b6aab0829a Mon Sep 17 00:00:00 2001 From: Gabe Mulley Date: Mon, 14 May 2018 13:21:49 -0400 Subject: [PATCH] fix broken test --- lms/djangoapps/discussion/tests/test_tasks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lms/djangoapps/discussion/tests/test_tasks.py b/lms/djangoapps/discussion/tests/test_tasks.py index ff4191c33b..8164c7b66f 100644 --- a/lms/djangoapps/discussion/tests/test_tasks.py +++ b/lms/djangoapps/discussion/tests/test_tasks.py @@ -298,6 +298,8 @@ class TaskTestCase(ModuleStoreTestCase): for key, entry in test_props.items(): setattr(message, key, entry) + test_props['nonInteraction'] = True + with mock.patch('analytics.track') as mock_analytics_track: _track_notification_sent(message, context) mock_analytics_track.assert_called_once_with(