def setUp(self): self.client = self.get_client() self.base = b = ujoin(TDIR, 'ls') self.client.mkdirp(stor(b, "a1")) self.client.put(stor(b, "a1/a2.txt"), "this is a1/a2.txt") self.client.mkdirp(stor(b, "a1/b2")) self.client.put(stor(b, "a1/b2/a3.txt"), "this is a1/b2/a3.txt") self.client.mkdirp(stor(b, "b1")) self.client.put(stor(b, "c1.txt"), "this is c1.txt")
def setUp(self): self.client = self.get_client() self.base = b = ujoin(TDIR, 'find') self.client.mkdirp(stor(b, "dir1/dir2")) self.client.put(stor(b, "dir1/obj1.txt"), "this is obj1")