From: Nathan Cutler Date: Sun, 6 Mar 2016 10:43:47 +0000 (+0100) Subject: doc: update documentation of make_fake_fstools() X-Git-Tag: 1.1.0~657^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F809%2Fhead;p=teuthology.git doc: update documentation of make_fake_fstools() 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 --- diff --git a/teuthology/test/fake_fs.py b/teuthology/test/fake_fs.py index 161342158..4f6d78b6a 100644 --- a/teuthology/test/fake_fs.py +++ b/teuthology/test/fake_fs.py @@ -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 = {\