ENT-945 Using SSOVerifications in ID Verification flow

This reworks what was done #17930, since it had to be reverted from the IDVerificationAggregate migration.
We decided to abandon that model and directly read from both id verification models.
This commit is contained in:
Brittney Exline
2018-04-26 14:44:29 -04:00
parent 2be587d32d
commit 91e63ed8e0
23 changed files with 406 additions and 316 deletions

View File

@@ -396,7 +396,7 @@ class TestInstructorGradeReport(InstructorGradeReportTestCase):
RequestCache.clear_request_cache()
expected_query_count = 41
expected_query_count = 42
with patch('lms.djangoapps.instructor_task.tasks_helper.runner._get_current_task'):
with check_mongo_calls(mongo_count):
with self.assertNumQueries(expected_query_count):
@@ -1999,7 +1999,7 @@ class TestCertificateGeneration(InstructorTaskModuleTestCase):
'failed': 3,
'skipped': 2
}
with self.assertNumQueries(106):
with self.assertNumQueries(114):
self.assertCertificatesGenerated(task_input, expected_results)
expected_results = {