def setUp(self): self.auth = Auth('jsmith', 'qwerty') self.connpool = ConnectionPool( auth=self.auth, poolsize=22, timeout=33, )
def setUp(self): self.auth = Auth('jsmith', 'qwerty') self.conn = Connection(auth=self.auth) self.conn.conn_class = CustomHTTPConnection self.conn.http_connect() self.container = self.conn.get_container('container1') self.storage_object = self.container.get_object('object1')
def test_servicenet_cnx(self): """ Test connection to servicenet. """ auth = Auth('jsmith', 'qwerty') conn = Connection(auth=auth, servicenet=True) self.assert_(conn.connection_args[0].startswith("snet-"))
def setUp(self): self.auth = Auth('jsmith', 'xxxxxxxx')
def setUp(self): self.auth = Auth('jsmith', 'qwerty') self.conn = Connection(auth=self.auth) self.conn.conn_class = CustomHTTPConnection self.conn.http_connect()