summaryrefslogtreecommitdiff
path: root/summainlib_tests.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-08-08 14:52:17 +0100
committerLars Wirzenius <liw@liw.fi>2011-08-08 14:52:17 +0100
commit94c14e3e7bfcaed2202640e2cf685d81bea4524f (patch)
tree689fe5be158ffc807caa3213f8b791ae81c1be0a /summainlib_tests.py
parent3ae02725e57e4e1dd1f4d48edfc31dcc15ef47ca (diff)
downloadsummain-94c14e3e7bfcaed2202640e2cf685d81bea4524f.tar.gz
Remove commented-out tests.
Diffstat (limited to 'summainlib_tests.py')
-rw-r--r--summainlib_tests.py29
1 files changed, 0 insertions, 29 deletions
diff --git a/summainlib_tests.py b/summainlib_tests.py
index 5c10f72..4ec3da5 100644
--- a/summainlib_tests.py
+++ b/summainlib_tests.py
@@ -167,35 +167,6 @@ class FilesystemObjectTests(unittest.TestCase):
def test_formats_target_correctly_for_regular_file(self):
self.assertEqual(self.new('foo')['Target'], '')
-
-# def test_does_not_output_size_for_directory(self):
-# fso = self.new('foo', mode=stat.S_IFDIR | 0777)
-# output = fso.format()
-# self.assert_('Size:' not in output)
-#
-# def test_relative_path_returns_path_if_not_starting_with_root(self):
-# fso = self.new('/foo/bar')
-# self.assertEqual(fso.relative_path('/yo'), '/foo/bar')
-#
-# def test_relative_path_returns_partial_path_if_starting_with_root(self):
-# fso = self.new('/foo/bar')
-# self.assertEqual(fso.relative_path('/foo'), 'bar')
-#
-# def test_relative_path_returns_dot_if_same_as_root_and_dir(self):
-# fso = self.new('/foo/bar', mode=stat.S_IFDIR)
-# self.assertEqual(fso.relative_path('/foo/bar'), '.')
-#
-# def test_relative_path_returns_path_if_same_as_root_and_not_dir(self):
-# fso = self.new('/foo/bar', mode=stat.S_IFREG)
-# self.assertEqual(fso.relative_path('/foo/bar'), '/foo/bar')
-#
-# def test_relative_path_returns_path_if_root_is_slashless_prefix(self):
-# fso = self.new('/foobar', mode=stat.S_IFREG)
-# self.assertEqual(fso.relative_path('/foo'), '/foobar')
-#
-# def test_relative_path_returns_partial_path_if_root_ends_in_slash(self):
-# fso = self.new('/foo/bar', mode=stat.S_IFREG)
-# self.assertEqual(fso.relative_path('/foo/'), 'bar')
def test_excludes_unwanted_fields_from_output(self):
self.exclude = ['mtime']