about summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-01-13 20:57:54 +0100
committerhut <hut@lavabit.com>2010-01-13 20:57:54 +0100
commit63502bea559898d5e79738659424fe3875f913ad (patch)
tree611ca776659ba157733a9ac608c0207a2f680285 /test
parentf70ee6b2209af6785cf9a030b1a8893f09a770ac (diff)
downloadranger-63502bea559898d5e79738659424fe3875f913ad.tar.gz
fsobject.directory: removed __getitem__ (too ambiguous)
Diffstat (limited to 'test')
-rw-r--r--test/tc_directory.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/tc_directory.py b/test/tc_directory.py
index 45b58cf5..7634de0e 100644
--- a/test/tc_directory.py
+++ b/test/tc_directory.py
@@ -24,7 +24,6 @@ class Test1(unittest.TestCase):
 		self.assertEqual(dir.filenames, None)
 		self.assertEqual(dir.files, None)
 		self.assertRaises(fsobject.NotLoadedYet, len, dir)
-		self.assertRaises(fsobject.NotLoadedYet, dir.__getitem__, 0)
 
 	def test_after_content_loaded(self):
 		import os
@@ -66,7 +65,6 @@ class Test1(unittest.TestCase):
 		self.assertFalse(dir.accessible)
 		self.assertEqual(dir.filenames, None)
 		self.assertRaises(fsobject.NotLoadedYet, len, dir)
-		self.assertRaises(fsobject.NotLoadedYet, dir.__getitem__, 0)
 
 	def test_load_if_outdated(self):
 		import os