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()