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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user