コード例 #1
0
 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")
コード例 #2
0
 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")
コード例 #3
0
 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")
コード例 #4
0
 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")