Ejemplo n.º 1
0
 def setUp(self):
     super(ProductWithShippingOptionsTest, self).setUp()
     EntityConnection.open('localhost',
                           27017,
                           db="product_with_shipping",
                           io_loop=self.io_loop)
     self.emanager = EntityManager(ProductWithShippingOptions)
     self.product = BaseTestFactory.create_product_with_3_shipping_options()
Ejemplo n.º 2
0
 def setUp(self):
     super(ConnectionUsingHostPortTest, self).setUp()
     EntityConnection.open('localhost',
                           27017,
                           db="ym_db_test_16",
                           io_loop=self.io_loop)
     self.emanager = EntityManager(SimpleClient)
     self.simple_client = SimpleClient('_name', '__last_name')
Ejemplo n.º 3
0
 def setUp(self):
     super(ProductWithShippingOptionsTest, self).setUp()
     EntityConnection.open('localhost', 27017, db="product_with_shipping", io_loop=self.io_loop)
     self.emanager = EntityManager(ProductWithShippingOptions)
     self.product = BaseTestFactory.create_product_with_3_shipping_options()
Ejemplo n.º 4
0
 def setUp(self):
     super(ConnectionUsingHostPortTest, self).setUp()
     EntityConnection.open('localhost', 27017, db="ym_db_test_16", io_loop=self.io_loop)
     self.emanager = EntityManager(SimpleClient)
     self.simple_client = SimpleClient('_name', '__last_name')
Ejemplo n.º 5
0
 def setUp(self):
     super(BaseTest, self).setUp()
     EntityConnection.open(db="ym_db_test", io_loop=self.io_loop)
Ejemplo n.º 6
0
 def setUp(self):
     super(BaseTest, self).setUp()
     EntityConnection.open(db="ym_db_test", io_loop=self.io_loop)