Package ganeti :: Package rapi :: Module testutils :: Class FakeCurl
[hide private]
[frames] | no frames]

Class FakeCurl

source code

Fake cURL object.

Instance Methods [hide private]
 
__init__(self, handler)
Initialize this class
source code
 
setopt(self, opt, value) source code
 
getopt(self, opt) source code
 
unsetopt(self, opt) source code
 
getinfo(self, info) source code
 
perform(self) source code
Method Details [hide private]

__init__(self, handler)
(Constructor)

source code 

Initialize this class

Parameters:
  • handler - Request handler instance