]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
doc: update documentation of make_fake_fstools() 809/head
authorNathan Cutler <ncutler@suse.com>
Sun, 6 Mar 2016 10:43:47 +0000 (11:43 +0100)
committerNathan Cutler <ncutler@suse.com>
Sun, 6 Mar 2016 10:49:13 +0000 (11:49 +0100)
When the documentation of make_fake_fstools() was written, the function
evidently only returned two values. Now it returns four values. Additional
return values might be added later.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
teuthology/test/fake_fs.py

index 161342158457f5df6eef3eb24f75dcf09519628c..4f6d78b6afb560ab94036869fbf1ff8e6446f24d 100644 (file)
@@ -4,8 +4,8 @@ from contextlib import closing
 
 def make_fake_fstools(fake_filesystem):
     """
-    Build a fake listdir() and isfile(), to be used instead of
-    os.isdir() and os.isfile()
+    Build fake versions of os.listdir(), os.isfile(), etc. for use in
+    unit tests
 
     An example fake_filesystem value:
         >>> fake_fs = {\