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

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, handler)
(Constructor)

source code 

Initialize this class

Parameters:
  • handler - Request handler instance
Overrides: object.__init__