Add a test for swift path computation

This commit is contained in:
Jake Moshenko 2016-01-15 11:15:40 -05:00
parent c6d7eba98d
commit 909e7d45b7
7 changed files with 74 additions and 27 deletions

View file

@ -9,6 +9,9 @@ from storage.basestorage import BaseStorageV2
_FAKE_STORAGE_MAP = defaultdict(StringIO.StringIO)
class FakeStorage(BaseStorageV2):
def __init__(self, metric_queue):
super(FakeStorage, self).__init__()
def _init_path(self, path=None, create=False):
return path