Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
distutils.tests.test_register.FakeOpener Class Reference
Inheritance diagram for distutils.tests.test_register.FakeOpener:
Inheritance graph
[legend]
Collaboration diagram for distutils.tests.test_register.FakeOpener:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def __call__
def open
def read

Public Attributes

 reqs
_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Detailed Description

Fakes a PyPI server

Definition at line 51 of file test_register.py.


Constructor & Destructor Documentation

Definition at line 53 of file test_register.py.

00053 
00054     def __init__(self):
00055         self.reqs = []

Here is the caller graph for this function:


Member Function Documentation

Definition at line 56 of file test_register.py.

00056 
00057     def __call__(self, *args):
00058         return self

Definition at line 59 of file test_register.py.

00059 
00060     def open(self, req):
00061         self.reqs.append(req)
00062         return self

Definition at line 63 of file test_register.py.

00063 
00064     def read(self):
00065         return 'xxx'

Here is the caller graph for this function:


Member Data Documentation

Definition at line 107 of file object.h.

struct _typeobject* _object::ob_type [inherited]

Definition at line 108 of file object.h.

Definition at line 54 of file test_register.py.


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