Commit f560ebfa by willmcgugan

A few more tests

parent b379d4c1
...@@ -528,6 +528,11 @@ class TestReadZipFS(unittest.TestCase): ...@@ -528,6 +528,11 @@ class TestReadZipFS(unittest.TestCase):
self.assert_(self.fs.isfile('foo/bar/baz.txt')) self.assert_(self.fs.isfile('foo/bar/baz.txt'))
self.assert_(self.fs.isdir('foo')) self.assert_(self.fs.isdir('foo'))
self.assert_(self.fs.isdir('foo/bar')) self.assert_(self.fs.isdir('foo/bar'))
self.assert_(self.fs.exists('a.txt'))
self.assert_(self.fs.exists('1.txt'))
self.assert_(self.fs.exists('foo/bar/baz.txt'))
self.assert_(self.fs.exists('foo'))
self.assert_(self.fs.exists('foo/bar'))
def test_listdir(self): def test_listdir(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment