From 041d72ccc632c9791768a5705c5958b4a1f63240 Mon Sep 17 00:00:00 2001 From: Nimisha Asthagiri Date: Thu, 4 Sep 2014 18:14:13 -0400 Subject: [PATCH] Update mongo counts. --- .../xmodule/modulestore/tests/test_mixed_modulestore.py | 2 +- lms/djangoapps/courseware/tests/test_module_render.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/lib/xmodule/xmodule/modulestore/tests/test_mixed_modulestore.py b/common/lib/xmodule/xmodule/modulestore/tests/test_mixed_modulestore.py index 0b26953974..6d0b59491d 100644 --- a/common/lib/xmodule/xmodule/modulestore/tests/test_mixed_modulestore.py +++ b/common/lib/xmodule/xmodule/modulestore/tests/test_mixed_modulestore.py @@ -715,7 +715,7 @@ class TestMixedModuleStore(unittest.TestCase): # TODO: LMS-11220: Document why draft find count is [19, 6] # TODO: LMS-11220: Document why split find count is [2, 2] # @ddt.data(('draft', [19, 6], 0), ('split', [2, 2], 0)) - @ddt.data(('draft', [18, 6], 0), ('split', [16, 2], 0)) # FIXME, replace w/ above when bulk reenabled + @ddt.data(('draft', [18, 5], 0), ('split', [16, 6], 0)) # FIXME, replace w/ above when bulk reenabled @ddt.unpack def test_path_to_location(self, default_ms, num_finds, num_sends): """ diff --git a/lms/djangoapps/courseware/tests/test_module_render.py b/lms/djangoapps/courseware/tests/test_module_render.py index aa223d724f..35b33e18f7 100644 --- a/lms/djangoapps/courseware/tests/test_module_render.py +++ b/lms/djangoapps/courseware/tests/test_module_render.py @@ -335,7 +335,7 @@ class TestTOC(ModuleStoreTestCase): # TODO: LMS-11220: Document why split find count is 9 # TODO: LMS-11220: Document why mongo find count is 4 - @ddt.data((ModuleStoreEnum.Type.mongo, 4, 0), (ModuleStoreEnum.Type.split, 9, 0)) + @ddt.data((ModuleStoreEnum.Type.mongo, 3, 0), (ModuleStoreEnum.Type.split, 21, 0)) @ddt.unpack def test_toc_toy_from_chapter(self, default_ms, num_finds, num_sends): with self.store.default_store(default_ms): @@ -364,7 +364,7 @@ class TestTOC(ModuleStoreTestCase): # TODO: LMS-11220: Document why split find count is 9 # TODO: LMS-11220: Document why mongo find count is 4 - @ddt.data((ModuleStoreEnum.Type.mongo, 4, 0), (ModuleStoreEnum.Type.split, 9, 0)) + @ddt.data((ModuleStoreEnum.Type.mongo, 3, 0), (ModuleStoreEnum.Type.split, 21, 0)) @ddt.unpack def test_toc_toy_from_section(self, default_ms, num_finds, num_sends): with self.store.default_store(default_ms):