aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2014-03-26 12:24:33 +0000
committerBryn M. Reeves <bmr@redhat.com>2014-03-26 12:24:33 +0000
commit6b3b56ee17e14a0f0de8a16a6a52b3708d01146b (patch)
tree5fda2d209cdec297e5014823e2bdab03e1f521af /tests
parente708041c050245bf05a7205e6661f8402e8e6a66 (diff)
downloadsos-6b3b56ee17e14a0f0de8a16a6a52b3708d01146b.tar.gz
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 <bmr@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/utilities_tests.py11
1 files changed, 1 insertions, 10 deletions
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):