HomeSort by relevance Sort by last modified time
    Searched refs:FileNotFoundError (Results 1 - 25 of 38) sorted by null

1 2

  /external/chromium_org/chrome/common/extensions/docs/server2/
offline_file_system.py 5 from file_system import FileSystem, FileNotFoundError
15 raise FileNotFoundError('File system is offline, cannot read %s' % paths)
18 raise FileNotFoundError('File system is offline, cannot read %s' % path)
empty_dir_file_system.py 5 from file_system import FileNotFoundError, FileSystem, StatInfo
16 raise FileNotFoundError('EmptyDirFileSystem cannot read %s' % path)
22 raise FileNotFoundError('EmptyDirFileSystem cannot stat %s' % path)
test_file_system_test.py 7 from file_system import FileNotFoundError, StatInfo
38 self.assertRaises(FileNotFoundError, _Get(fs.Read), ['404.html/'])
39 self.assertRaises(FileNotFoundError, _Get(fs.Read), ['apps/foo/'])
40 self.assertRaises(FileNotFoundError, _Get(fs.Read), ['apps/foo.html'])
41 self.assertRaises(FileNotFoundError, _Get(fs.Read), ['apps/foo.html'])
42 self.assertRaises(FileNotFoundError, _Get(fs.Read), ['apps/foo/',
44 self.assertRaises(FileNotFoundError, _Get(fs.Read), ['apps/foo/',
48 self.assertRaises(FileNotFoundError, _Get(fs.Read), ['foo'])
49 self.assertRaises(FileNotFoundError, _Get(fs.Read), ['bar/'])
50 self.assertRaises(FileNotFoundError, _Get(fs.Read), ['bar/baz']
    [all...]
link_error_detector_test.py 8 from file_system import FileNotFoundError
57 except FileNotFoundError:
patched_file_system_test.py 9 from file_system import FileSystem, FileNotFoundError, StatInfo
99 self.assertRaises(FileNotFoundError, self._file_system.ReadSingle,
101 self.assertRaises(FileNotFoundError, self._file_system.ReadSingle,
103 self.assertRaises(FileNotFoundError, self._file_system.ReadSingle,
105 self.assertRaises(FileNotFoundError, self._file_system.ReadSingle,
107 self.assertRaises(FileNotFoundError, self._file_system.ReadSingle,
132 self.assertRaises(FileNotFoundError, self._file_system.ReadSingle,
173 self.assertRaises(FileNotFoundError, self._file_system.Stat,
175 self.assertRaises(FileNotFoundError, self._file_system.Stat,
191 self.assertRaises(FileNotFoundError, self._file_system.Stat
    [all...]
patched_file_system.py 7 from file_system import FileSystem, StatInfo, FileNotFoundError
34 raise FileNotFoundError('Directory %s not found in the patch.' % path)
49 raise FileNotFoundError('Files are removed from the patch.')
63 and handle FileNotFoundError.
71 except FileNotFoundError:
137 except FileNotFoundError:
157 raise FileNotFoundError('%s was not in child versions' % filename)
chained_compiled_file_system.py 6 from file_system import FileNotFoundError
53 except FileNotFoundError:
67 except FileNotFoundError:
compiled_file_system_test.py 9 from file_system import FileNotFoundError
93 self.assertRaises(FileNotFoundError, compiled_fs.GetFromFile, '405.html')
97 self.assertRaises(FileNotFoundError,
99 # TODO(kalman): likewise, not a FileNotFoundError.
100 self.assertRaises(FileNotFoundError,
host_file_system_creator_test.py 9 from file_system import FileNotFoundError
40 # Offline file system should raise a FileNotFoundError if read is attempted.
41 self.assertRaises(FileNotFoundError, fs.ReadSingle, self._idle_path)
subversion_file_system_test.py 12 from file_system import FileNotFoundError, StatInfo
88 self.assertRaises(FileNotFoundError, svn_file_system.ReadSingle, 'dir/file')
91 self.assertRaises(FileNotFoundError, svn_file_system.Stat, 'dir/file')
94 self.assertRaises(FileNotFoundError, svn_file_system.ReadSingle, 'dir/')
96 self.assertRaises(FileNotFoundError, svn_file_system.Stat, 'dir/')
local_file_system.py 9 from file_system import FileSystem, FileNotFoundError, StatInfo, ToUnicode
27 raise FileNotFoundError('Read failed for %s: %s' % (filename, e))
34 raise FileNotFoundError('os.listdir failed for %s: %s' % (dir_name, e))
61 raise FileNotFoundError('os.stat failed for %s: %s' % (path, e))
test_file_system.py 5 from file_system import FileSystem, FileNotFoundError, StatInfo
54 raise FileNotFoundError(
81 raise FileNotFoundError(
88 raise FileNotFoundError(
redirector.py 8 from file_system import FileNotFoundError
37 except FileNotFoundError:
rietveld_patcher_test.py 11 from file_system import FileNotFoundError
75 # self.assertRaises(FileNotFoundError, self._ApplySingle,
79 self.assertRaises(FileNotFoundError, self._ApplySingle, 'not_existing')
subversion_file_system.py 13 from file_system import FileSystem, FileNotFoundError, StatInfo, ToUnicode
120 raise FileNotFoundError(
123 raise FileNotFoundError('Got 404 when fetching %s for Get' % path)
176 # explicitly catching that seems not to work) to a FileNotFoundError to
178 raise FileNotFoundError(
182 raise FileNotFoundError('Got %s when fetching %s for Stat' % (
191 raise FileNotFoundError(
path_canonicalizer.py 11 from file_system import FileNotFoundError
85 except FileNotFoundError:
render_servlet.py 11 from file_system import FileNotFoundError
82 except FileNotFoundError:
fake_fetchers.py 14 from file_system import FileNotFoundError
69 raise FileNotFoundError('Listing %s failed: %s' (path, e))
73 raise FileNotFoundError('Reading %s failed: %s' % (path, e))
107 raise FileNotFoundError('Reading %s failed: %s' % (path, e))
test_patcher.py 35 raise FileNotFoundError('One of %s is deleted in the patch.' % paths)
caching_file_system.py 5 from file_system import FileSystem, StatInfo, FileNotFoundError
69 assert dir_stat is not None # should raise a FileNotFoundError
77 raise FileNotFoundError('No stat found for %s in %s' % (path, dir_path))
caching_rietveld_patcher.py 6 from file_system import FileNotFoundError, ToUnicode
53 raise FileNotFoundError('File %s was not found in the patch.' % path)
  /external/chromium_org/chrome/test/functional/ispy/ispy_core/tests/rendering_test_manager/
cloud_bucket.py 8 class FileNotFoundError(Exception):
mock_cloud_bucket.py 34 raise cloud_bucket.FileNotFoundError
50 raise cloud_bucket.FileNotFoundError
cloud_bucket_impl.py 47 raise cloud_bucket.FileNotFoundError
68 raise cloud_bucket.FileNotFoundError(path)
  /external/chromium_org/chrome/test/functional/ispy/ispy_core/tools/
rendering_test_manager_unittest.py 60 self.assertRaises(cloud_bucket.FileNotFoundError,
90 self.assertRaises(cloud_bucket.FileNotFoundError, self.manager.RunTest,
111 cloud_bucket.FileNotFoundError, self.manager.GetTest, 'test3')
168 self.assertRaises(cloud_bucket.FileNotFoundError,
171 self.assertRaises(cloud_bucket.FileNotFoundError,

Completed in 350 milliseconds

1 2