summary refs log tree commit diff stats
path: root/test/tc_directory.py
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-12-06 14:08:39 +0100
committerhut <hut@lavabit.com>2009-12-06 14:08:39 +0100
commit373fdb3b29eeda84beef7f4096e523919ae9b3cb (patch)
tree1d7b4c2e7926daf357775655188c3c6c35fe133a /test/tc_directory.py
parent65cb1a32d4d5f83f48169846afec201ab3b6f9c3 (diff)
downloadranger-373fdb3b29eeda84beef7f4096e523919ae9b3cb.tar.gz
fixed directory test
Diffstat (limited to 'test/tc_directory.py')
-rw-r--r--test/tc_directory.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/test/tc_directory.py b/test/tc_directory.py
index c2129a29..7faeb7d2 100644
--- a/test/tc_directory.py
+++ b/test/tc_directory.py
@@ -66,25 +66,6 @@ class Test1(unittest.TestCase):
 		self.assertRaises(fsobject.NotLoadedYet, len, dir)
 		self.assertRaises(fsobject.NotLoadedYet, dir.__getitem__, 0)
 
-	# This test is obsolete!
-#	def test_modify_frozen_clone(self):
-#		dir = Directory(TESTDIR)
-#		clone = dir.frozen_clone()
-#
-#		# assert that their attributes are equal, except for frozen, which
-#		# should be true for the clone.
-#		self.assertTrue(clone.frozen)
-#		clone.frozen = False
-#		self.assertEqual(dir.__dict__, clone.__dict__)
-#		clone.frozen = True
-#
-#		# check for inequality after loading filenames with one object
-#		self.assertEqual(dir.filenames, clone.filenames)
-#		dir.load_content()
-#		self.assertNotEqual(dir.filenames, clone.filenames)
-#
-#		self.assertRaises(fsobject.FrozenException, clone.load_content)
-
 	def test_load_if_outdated(self):
 		import os
 		import time
d=db9cda6a7d635f02db30c459ebccfb0675eae3a0'>db9cda6 ^
1b492df ^
26c50c7 ^
6078d75 ^
6ff346b ^
d504005 ^
b39d0c5 ^
c34df2c ^
6cca399 ^
720b2ab ^
8e6eb52 ^
0c5f47e ^
82ddba8 ^
a2175cf ^
e06447e ^
760e23d ^
9996439 ^
3764ab4 ^
58e6866 ^
beac539 ^
a768ea9 ^
177ed7e ^
936e11f ^
b65a1e3 ^
ea4827a ^
82fed98 ^
5732e47 ^
f577fe4 ^
0d095ae ^
ab83872 ^
dc66237 ^
0d9d3e7 ^
5c48012 ^
7d071ce ^
7c9fa25 ^
81aebf8 ^
4e49d5a ^
f2190c8 ^
cc79700 ^
f651435 ^
b0477c3 ^
d5e8edc ^
91bb749 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53