Disable persistent-grades for tests failing query counts, until TNL-5458

This commit is contained in:
Nimisha Asthagiri
2016-09-11 00:44:48 -04:00
parent c1d4d730e0
commit 805bf28748
3 changed files with 5 additions and 0 deletions

View File

@@ -1641,6 +1641,8 @@ class TestCertificateGeneration(InstructorTaskModuleTestCase):
super(TestCertificateGeneration, self).setUp()
self.initialize_course()
# disable persistent grades until TNL-5458 (reduces query counts)
@patch.dict(settings.FEATURES, {'PERSISTENT_GRADES_ENABLED_FOR_ALL_TESTS': False})
def test_certificate_generation_for_students(self):
"""
Verify that certificates generated for all eligible students enrolled in a course.