summaryrefslogtreecommitdiff
path: root/fs/tests
diff options
context:
space:
mode:
authorWill McGugan <willmcgugan@gmail.com>2015-11-13 23:16:30 +0000
committerWill McGugan <willmcgugan@gmail.com>2015-11-13 23:16:30 +0000
commitd685855b6dda85a613d1bcf3e992e2bab10ac7f2 (patch)
treeb4d61c3e64e3f85bb4003a2cfe95379e8e0ac6a7 /fs/tests
parent959be2d7cfbe416df5e5c3648e0867e073574e91 (diff)
downloadpyfilesystem-git-d685855b6dda85a613d1bcf3e992e2bab10ac7f2.tar.gz
fixes for printtree, tox ini changes
Diffstat (limited to 'fs/tests')
-rw-r--r--fs/tests/__init__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/tests/__init__.py b/fs/tests/__init__.py
index 7af1476..2d9625d 100644
--- a/fs/tests/__init__.py
+++ b/fs/tests/__init__.py
@@ -63,6 +63,12 @@ class FSTestCases(object):
self.assertEqual(self.fs.validatepath('foo/bar'), None)
self.assert_(self.fs.isvalidpath('foo/bar'))
+ def test_tree(self):
+ """Test tree print"""
+ self.fs.makedir('foo')
+ self.fs.createfile('foo/bar.txt')
+ self.fs.tree()
+
def test_meta(self):
"""Checks getmeta / hasmeta are functioning"""
# getmeta / hasmeta are hard to test, since there is no way to validate