Commit 030f59f0 by rfkelly0

test that getinfo() doesn't accidentally return None

parent 993a5b24
...@@ -47,7 +47,7 @@ class FSTestCases(object): ...@@ -47,7 +47,7 @@ class FSTestCases(object):
self.assertTrue(self.fs.isdir("/")) self.assertTrue(self.fs.isdir("/"))
# These may be false (e.g. empty dict) but mustn't raise errors # These may be false (e.g. empty dict) but mustn't raise errors
self.fs.getinfo("") self.fs.getinfo("")
self.fs.getinfo("/") self.assertTrue(self.fs.getinfo("/") is not None)
def test_getsyspath(self): def test_getsyspath(self):
try: try:
......
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