From 6b3b56ee17e14a0f0de8a16a6a52b3708d01146b Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Wed, 26 Mar 2014 12:24:33 +0000 Subject: Dead code removal: DirTree The DirTree class has remained unused since it was implemented. Remove the definition and associated test cases. Signed-off-by: Bryn M. Reeves --- tests/utilities_tests.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'tests') diff --git a/tests/utilities_tests.py b/tests/utilities_tests.py index 04c52412..da0987ff 100644 --- a/tests/utilities_tests.py +++ b/tests/utilities_tests.py @@ -5,7 +5,7 @@ import unittest import six from six import StringIO -from sos.utilities import grep, DirTree, checksum, get_hash_name, is_executable, sos_get_command_output, find, tail, shell_out +from sos.utilities import grep, checksum, get_hash_name, is_executable, sos_get_command_output, find, tail, shell_out import sos TEST_DIR = os.path.dirname(__file__) @@ -43,15 +43,6 @@ class TailTest(unittest.TestCase): self.assertEquals(t, six.b(expected)) -class DirTreeTest(unittest.TestCase): - - def test_makes_tree(self): - # I'll admit, this a pretty lame test, but it will at least sniff out - # some syntax issues - t = DirTree(os.path.dirname(sos.__file__)).as_string() - self.assertTrue('sos' in t) - - class ChecksumTest(unittest.TestCase): def test_simple_hash(self): -- cgit