Add autospec to all mocks

This commit is contained in:
Ned Batchelder
2015-09-29 07:05:51 -04:00
parent 1f2f3de4a2
commit 43ac38aa87
18 changed files with 93 additions and 89 deletions

View File

@@ -25,7 +25,7 @@ from ..tests.helpers import (
)
@patch("openedx.core.djangoapps.course_groups.cohorts.tracker")
@patch("openedx.core.djangoapps.course_groups.cohorts.tracker", autospec=True)
class TestCohortSignals(TestCase):
"""
Test cases to validate event emissions for various cohort-related workflows