Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes | Static Public Attributes
test.test_urllib2.MockOpener Class Reference

List of all members.

Public Member Functions

def open
def error

Public Attributes

 timeout
 args

Static Public Attributes

list addheaders = []

Detailed Description

Definition at line 225 of file test_urllib2.py.


Member Function Documentation

def test.test_urllib2.MockOpener.error (   self,
  proto,
  args 
)

Definition at line 229 of file test_urllib2.py.

00229 
00230     def error(self, proto, *args):
00231         self.proto, self.args = proto, args

Here is the caller graph for this function:

def test.test_urllib2.MockOpener.open (   self,
  req,
  data = None,
  timeout = socket._GLOBAL_DEFAULT_TIMEOUT 
)

Definition at line 227 of file test_urllib2.py.

00227 
00228     def open(self, req, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
        self.req, self.data, self.timeout = req, data, timeout

Member Data Documentation

Definition at line 226 of file test_urllib2.py.

Definition at line 230 of file test_urllib2.py.

Definition at line 228 of file test_urllib2.py.


The documentation for this class was generated from the following file: