Lines Matching refs:FileNotFoundError
7 from file_system import FileNotFoundError, StatInfo
41 self.assertRaises(FileNotFoundError, _Get(fs.Read), ['404.html/'])
42 self.assertRaises(FileNotFoundError, _Get(fs.Read), ['apps/foo/'])
43 self.assertRaises(FileNotFoundError, _Get(fs.Read), ['apps/foo.html'])
44 self.assertRaises(FileNotFoundError, _Get(fs.Read), ['apps/foo.html'])
45 self.assertRaises(FileNotFoundError, _Get(fs.Read), ['apps/foo/',
47 self.assertRaises(FileNotFoundError, _Get(fs.Read), ['apps/foo/',
51 self.assertRaises(FileNotFoundError, _Get(fs.Read), ['foo'])
52 self.assertRaises(FileNotFoundError, _Get(fs.Read), ['bar/'])
53 self.assertRaises(FileNotFoundError, _Get(fs.Read), ['bar/baz'])
54 self.assertRaises(FileNotFoundError, _Get(fs.Read), ['foo',
57 self.assertRaises(FileNotFoundError, fs.Stat, 'foo')
58 self.assertRaises(FileNotFoundError, fs.Stat, 'bar/')
59 self.assertRaises(FileNotFoundError, fs.Stat, 'bar/baz')
90 self.assertRaises(FileNotFoundError, fs.Stat, 'foo')
91 self.assertRaises(FileNotFoundError, fs.Stat, '404.html/')