def setUp(self): super(DeletedClientTest, self).setUp() self.emanager = EntityManager(SimpleClient) self.client1 = BaseTestFactory.create_client_with_3_address() self.client2 = BaseTestFactory.create_client_with_3_address() self.client3 = BaseTestFactory.create_client_with_3_address()
def setUp(self): super(ClientWithFewAddressTest, self).setUp() self.client = BaseTestFactory.create_client_with_3_address() self.dict_client = self.client.as_dict() self.return_client = ClientWithAddress() self.return_client.map_dict(self.dict_client)
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(StoreWithThreeClientsOnlyTest, self).setUp() self.emanager = EntityManager(StoreWithThreeClientsOnly) self.client = BaseTestFactory.create_store_with_some_clients()
def setUp(self): super(ClientWithManyProductsAndAdressTest, self).setUp() self.emanager = EntityManager(ClientWithManyProductsAndAddress) self.client = BaseTestFactory.create_clients_with_many_products_and_addresses()
def setUp(self): super(ClientWithFewAddressTest, self).setUp() self.emanager = EntityManager(ClientWithAddress) self.client = BaseTestFactory.create_client_with_3_address()
def setUp(self): super(ClientWithManyProductsTest, self).setUp() self.client = BaseTestFactory.create_clients_with_many_products() self.dict_client = self.client.as_dict() self.return_client = ClientWithManyProducts() self.return_client.map_dict(self.dict_client)
def setUp(self): super(ClientWithManyProductsAndAdressTest, self).setUp() self.emanager = EntityManager(ClientWithManyProductsAndAddress) self.client = BaseTestFactory.create_clients_with_many_products_and_addresses( )