Esempio n. 1
0
 def setUp(self):
     self.random_db_name = 'test_' + str(uuid4())
     self.conn = engine.create_engine("couch://127.0.0.1:5984/" +
                                      self.random_db_name)
     self.conn.create_db()
     self.conn.use_db()
Esempio n. 2
0
 def setUp(self):
     self.random_db_name = 'test_'+str(uuid4())
     self.conn = engine.create_engine("couch://127.0.0.1:5984/"+self.random_db_name)
     self.conn.create_db()
     self.conn.use_db()
Esempio n. 3
0
 def setUp(self):
     self.random_db_name = 'test_'+str(uuid4())
     self.conn = engine.create_engine("mongo://127.0.0.1:27017/"+self.random_db_name)
     self.conn.create_db()
     self.conn.use_db()