@@ -216,8 +216,8 @@ class IndexQueryTestCase(ModuleStoreTestCase):
|
||||
NUM_PROBLEMS = 20
|
||||
|
||||
@ddt.data(
|
||||
(ModuleStoreEnum.Type.mongo, 10, 179),
|
||||
(ModuleStoreEnum.Type.split, 4, 173),
|
||||
(ModuleStoreEnum.Type.mongo, 10, 181),
|
||||
(ModuleStoreEnum.Type.split, 4, 175),
|
||||
)
|
||||
@ddt.unpack
|
||||
def test_index_query_counts(self, store_type, expected_mongo_query_count, expected_mysql_query_count):
|
||||
|
||||
@@ -160,7 +160,7 @@ def instructor_dashboard_2(request, course_id):
|
||||
unicode(course_key), len(paid_modes)
|
||||
)
|
||||
|
||||
if access['instructor'] and is_enabled_for_course(course_key, request=request):
|
||||
if access['instructor'] and is_enabled_for_course(course_key):
|
||||
sections.insert(3, _section_extensions(course))
|
||||
|
||||
# Gate access to course email by feature flag & by course-specific authorization
|
||||
|
||||
@@ -134,7 +134,7 @@ class TestCourseUpdatesPage(SharedModuleStoreTestCase):
|
||||
|
||||
# Fetch the view and verify that the query counts haven't changed
|
||||
# TODO: decrease query count as part of REVO-28
|
||||
with self.assertNumQueries(53, table_blacklist=QUERY_COUNT_TABLE_BLACKLIST):
|
||||
with self.assertNumQueries(55, table_blacklist=QUERY_COUNT_TABLE_BLACKLIST):
|
||||
with check_mongo_calls(4):
|
||||
url = course_updates_url(self.course)
|
||||
self.client.get(url)
|
||||
|
||||
@@ -118,7 +118,7 @@ edx-search==1.2.2
|
||||
git+https://github.com/mitodl/edx-sga.git@3828ba9e413080a81b907a3381e5ffa05e063f81#egg=edx-sga==0.8.3
|
||||
edx-submissions==2.1.1
|
||||
edx-user-state-client==1.1.0
|
||||
edx-when==0.1.5
|
||||
edx-when==0.1.6
|
||||
edxval==1.1.25
|
||||
elasticsearch==1.9.0 # via edx-search
|
||||
enum34==1.1.6
|
||||
|
||||
@@ -139,7 +139,7 @@ git+https://github.com/mitodl/edx-sga.git@3828ba9e413080a81b907a3381e5ffa05e063f
|
||||
edx-sphinx-theme==1.4.0
|
||||
edx-submissions==2.1.1
|
||||
edx-user-state-client==1.1.0
|
||||
edx-when==0.1.5
|
||||
edx-when==0.1.6
|
||||
edxval==1.1.25
|
||||
elasticsearch==1.9.0
|
||||
entrypoints==0.3
|
||||
|
||||
@@ -134,7 +134,7 @@ edx-search==1.2.2
|
||||
git+https://github.com/mitodl/edx-sga.git@3828ba9e413080a81b907a3381e5ffa05e063f81#egg=edx-sga==0.8.3
|
||||
edx-submissions==2.1.1
|
||||
edx-user-state-client==1.1.0
|
||||
edx-when==0.1.5
|
||||
edx-when==0.1.6
|
||||
edxval==1.1.25
|
||||
elasticsearch==1.9.0
|
||||
entrypoints==0.3 # via flake8
|
||||
|
||||
Reference in New Issue
Block a user