Rename memory backend filesystem -> fake filesystem

To ensure that no-one gets confused and believes this
is a real filesystem class, rename it to be a name
that clearly tells it is not a real filesystem.

Change-Id: I47b4018ff50019662492e1865d9cac5e8d43d3bf
This commit is contained in:
Joshua Harlow
2015-03-18 17:22:50 -07:00
parent f8af1289c9
commit 6db6363959

View File

@@ -25,7 +25,7 @@ from taskflow.types import tree
from taskflow.utils import lock_utils
class Filesystem(object):
class FakeFilesystem(object):
"""An in-memory filesystem-like structure."""
#: Root path of the in-memory filesystem.
@@ -156,7 +156,7 @@ class MemoryBackend(path_based.PathBasedBackend):
super(MemoryBackend, self).__init__(conf)
if self._path is None:
self._path = os.sep
self.memory = Filesystem()
self.memory = FakeFilesystem()
self.lock = lock_utils.ReaderWriterLock()
def get_connection(self):