def setUp(self): self.mldb = MldbRunner() self.port = self.mldb.port self.url = "http://localhost:%d/v1" % self.port self.writeDatasetToDisk() self.loadDatasetToMLDB()
def setUpClass(DatasetTest): DatasetTest.mldb = MldbRunner() DatasetTest.port = DatasetTest.mldb.port DatasetTest.loadDatasetToMLDB()
def setUp(self): self.mldb = MldbRunner() self.port = self.mldb.port self.base_url = 'http://localhost:' + str(self.port) + '/v1'
def setUpClass(cls): cls.mldb = MldbRunner() cls.port = cls.mldb.port cls.url = "http://localhost:%d/v1" % cls.port cls.loadDatasetToMLDB()
def setUp(self): self.mldb = MldbRunner() self.port = self.mldb.port self.url = 'http://localhost:' + str(self.port) + '/v1' self.loadDatasetToMLDB()