diff options
author | Will McGugan <willmcgugan@gmail.com> | 2015-11-13 23:16:30 +0000 |
---|---|---|
committer | Will McGugan <willmcgugan@gmail.com> | 2015-11-13 23:16:30 +0000 |
commit | d685855b6dda85a613d1bcf3e992e2bab10ac7f2 (patch) | |
tree | b4d61c3e64e3f85bb4003a2cfe95379e8e0ac6a7 /fs/tests | |
parent | 959be2d7cfbe416df5e5c3648e0867e073574e91 (diff) | |
download | pyfilesystem-git-d685855b6dda85a613d1bcf3e992e2bab10ac7f2.tar.gz |
fixes for printtree, tox ini changes
Diffstat (limited to 'fs/tests')
-rw-r--r-- | fs/tests/__init__.py | 6 |
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 |