Пример #1
0
 def setUp(self):
     self.mldb = MldbRunner()
     self.port = self.mldb.port
     self.url = "http://localhost:%d/v1" % self.port
     self.writeDatasetToDisk()
     self.loadDatasetToMLDB()
Пример #2
0
 def setUpClass(DatasetTest):
     DatasetTest.mldb = MldbRunner()
     DatasetTest.port = DatasetTest.mldb.port
     DatasetTest.loadDatasetToMLDB()
Пример #3
0
 def setUp(self):
     self.mldb = MldbRunner()
     self.port = self.mldb.port
     self.base_url = 'http://localhost:' + str(self.port) + '/v1'
Пример #4
0
 def setUpClass(cls):
     cls.mldb = MldbRunner()
     cls.port = cls.mldb.port
     cls.url = "http://localhost:%d/v1" % cls.port
     cls.loadDatasetToMLDB()
Пример #5
0
 def setUp(self):
     self.mldb = MldbRunner()
     self.port = self.mldb.port
     self.url = 'http://localhost:' + str(self.port) + '/v1'
     self.loadDatasetToMLDB()