Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
test.test_cfgparser.FakeFile Class Reference

List of all members.

Public Member Functions

def __init__
def readline

Public Attributes

 lines

Detailed Description

Definition at line 1340 of file test_cfgparser.py.


Constructor & Destructor Documentation

Definition at line 1341 of file test_cfgparser.py.

01341 
01342     def __init__(self):
01343         file_path = support.findfile("cfgparser.1")
01344         with open(file_path) as f:
01345             self.lines = f.readlines()
01346             self.lines.reverse()

Here is the caller graph for this function:


Member Function Documentation

Definition at line 1347 of file test_cfgparser.py.

01347 
01348     def readline(self):
01349         if len(self.lines):
01350             return self.lines.pop()
01351         return ''
01352 

Here is the caller graph for this function:


Member Data Documentation

Definition at line 1344 of file test_cfgparser.py.


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