Back to index

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

List of all members.

Public Member Functions

def __init__
def info
def geturl

Public Attributes

 url

Detailed Description

Definition at line 241 of file test_urllib2.py.


Constructor & Destructor Documentation

def test.test_urllib2.MockResponse.__init__ (   self,
  code,
  msg,
  headers,
  data,
  url = None 
)

Definition at line 242 of file test_urllib2.py.

00242 
00243     def __init__(self, code, msg, headers, data, url=None):
00244         io.StringIO.__init__(self, data)
        self.code, self.msg, self.headers, self.url = code, msg, headers, url

Here is the caller graph for this function:


Member Function Documentation

Definition at line 247 of file test_urllib2.py.

00247 
00248     def geturl(self):
00249         return self.url

Definition at line 245 of file test_urllib2.py.

00245 
00246     def info(self):
        return self.headers

Here is the caller graph for this function:


Member Data Documentation

Definition at line 244 of file test_urllib2.py.


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