Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5255)

Unified Diff: chrome/common/extensions/docs/server2/chained_compiled_file_system_test.py

Issue 151883009: Docserver: Make MockFileSystem not iterate over the entire file system as part (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: yoz and then some Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/server2/chained_compiled_file_system_test.py
diff --git a/chrome/common/extensions/docs/server2/chained_compiled_file_system_test.py b/chrome/common/extensions/docs/server2/chained_compiled_file_system_test.py
index 3853540fce9ea6a854ffc5755b9aa011db041d6c..1e75f34e56a6d2668141eb2aee77e785b905c92b 100755
--- a/chrome/common/extensions/docs/server2/chained_compiled_file_system_test.py
+++ b/chrome/common/extensions/docs/server2/chained_compiled_file_system_test.py
@@ -58,7 +58,7 @@ class ChainedCompiledFileSystemTest(unittest.TestCase):
def testGetFromFileListing(self):
self.assertEqual(self._chained_compiled_fs.GetFromFile('dir/').Get(),
self._base_compiled_fs.GetFromFile('dir/').Get())
- self._new_file_system.IncrementStat('dir/')
+ self._new_file_system.IncrementStat('dir/new.txt')
self.assertNotEqual(
self._chained_compiled_fs.GetFromFileListing('dir/').Get(),
self._base_compiled_fs.GetFromFileListing('dir/').Get())

Powered by Google App Engine
This is Rietveld 408576698