refactor: AA-677: Switch relative dates to CourseWaffleFlag

We have been bucketing all users into the relative dates experiment
since May 18, 2020. We no longer need to keep this as an
ExperimentWaffleFlag and can convert to a CourseWaffleFlag (so it
continues to support exemptions).
This commit is contained in:
Dillon Dumesnil
2021-04-06 14:29:32 -04:00
parent feb4c13608
commit c9197d3cfc
11 changed files with 39 additions and 42 deletions

View File

@@ -234,7 +234,7 @@ class TestGetBlocksQueryCounts(TestGetBlocksQueryCountsBase):
self._get_blocks(
course,
expected_mongo_queries=0,
expected_sql_queries=11 if with_storage_backing else 10,
expected_sql_queries=13 if with_storage_backing else 12,
)
@ddt.data(
@@ -251,9 +251,9 @@ class TestGetBlocksQueryCounts(TestGetBlocksQueryCountsBase):
clear_course_from_cache(course.id)
if with_storage_backing:
num_sql_queries = 21
num_sql_queries = 23
else:
num_sql_queries = 11
num_sql_queries = 13
self._get_blocks(
course,