예제 #1
0
 def __init__(self, ic, url, dataset):
     Thread.__init__(self)
     self.ic = ic
     self.url = url
     self.dataset = dataset
     self.dbs3api = DBS3Client(url)
     self.api = Dbs2Api()
예제 #2
0
파일: TestStress.py 프로젝트: giffels/DBS
 def __init__(self,
              url="http://localhost:8585/dbs3/",
              IC=0,
              NFILES=1,
              NPARENTS=0,
              NLUMIS=0):
     Thread.__init__(self)
     self.cli = DBS3Client(url)
     self.IC = IC
     self.NFILES = NFILES
     self.NPARENTS = NPARENTS
     self.NLUMIS = NLUMIS
예제 #3
0
파일: TestServer.py 프로젝트: giffels/DBS
 def setUp(self):
     """setup all necessary parameters"""
     url = "http://localhost:8587/dbs3/"
     self.cli = DBS3Client(url)
예제 #4
0
 def __init__(self, IC, url="http://localhost:8585/dbs3/"):
     Thread.__init__(self)
     self.cli = DBS3Client(url)
     self.IC = IC