feat: Add org-level waffle overrides to allow a waffle flag to be overridden for all

courses in a particular organization, without needing to make a separate course-level
waffle override for each individual course for an organization.
This commit is contained in:
Julia Eskew
2022-01-18 17:11:01 -05:00
committed by Julia Eskew
parent 7c1710beca
commit 0eb0f99d00
12 changed files with 374 additions and 59 deletions

View File

@@ -371,8 +371,8 @@ class TestInstructorGradeReport(InstructorGradeReportTestCase):
self._verify_cell_data_for_user(verified_user.username, course.id, 'Certificate Eligible', 'Y', num_rows=2)
@ddt.data(
(ModuleStoreEnum.Type.mongo, 4, 46),
(ModuleStoreEnum.Type.split, 3, 46),
(ModuleStoreEnum.Type.mongo, 4, 47),
(ModuleStoreEnum.Type.split, 3, 47),
)
@ddt.unpack
def test_query_counts(self, store_type, mongo_count, expected_query_count):
@@ -2081,7 +2081,7 @@ class TestCertificateGeneration(InstructorTaskModuleTestCase):
'failed': 0,
'skipped': 2
}
with self.assertNumQueries(82):
with self.assertNumQueries(83):
self.assertCertificatesGenerated(task_input, expected_results)
@ddt.data(