def test_returns_multiple_items_for_path(self): fs = testlib.filesystem_for('/somedir') self.assertEquals(['/', '/somedir'], fs)
def test_returns_single_item_for_root(self): fs = testlib.filesystem_for('/') self.assertEquals(['/'], fs)