From c0d8f454a7c284d326bf32a38db32a64fd23176d Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Sun, 6 Mar 2016 11:43:47 +0100 Subject: [PATCH] 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 --- teuthology/test/fake_fs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/teuthology/test/fake_fs.py b/teuthology/test/fake_fs.py index 1613421584..4f6d78b6af 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 = {\ -- 2.39.5