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()
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')
def setUp(self): super(BaseTest, self).setUp() EntityConnection.open(db="ym_db_test", io_loop=self.io_loop)