Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Static Public Attributes | Private Attributes | Static Private Attributes
PluggableAuthService.plugins.tests.test_HTTPBasicAuthHelper.FauxHTTPResponse Class Reference
Collaboration diagram for PluggableAuthService.plugins.tests.test_HTTPBasicAuthHelper.FauxHTTPResponse:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def unauthorized
def setStatus
def setHeader
def addHeader
def setBody

Public Attributes

 status
 body

Static Public Attributes

string realm = 'unit test'
int debug_mode = 0
dictionary headers = {}

Private Attributes

 _unauthorized_called

Static Private Attributes

int _unauthorized_called = 0

Detailed Description

Definition at line 42 of file test_HTTPBasicAuthHelper.py.


Member Function Documentation

Definition at line 61 of file test_HTTPBasicAuthHelper.py.

00061 
00062     def addHeader(self, name, value):
00063 
00064         self.headers[name] = value

Definition at line 65 of file test_HTTPBasicAuthHelper.py.

00065 
00066     def setBody(self, body, is_error=0):
00067         self.body = body
00068 

Here is the caller graph for this function:

Definition at line 57 of file test_HTTPBasicAuthHelper.py.

00057 
00058     def setHeader(self, name, value, literal=0):
00059 
00060         self.headers[name] = value

Definition at line 53 of file test_HTTPBasicAuthHelper.py.

00053 
00054     def setStatus(self, status, reason=None):
00055 
00056         self.status = status

Definition at line 49 of file test_HTTPBasicAuthHelper.py.

00049 
00050     def unauthorized( self ):
00051 
00052         self._unauthorized_called = 1


Member Data Documentation

Definition at line 44 of file test_HTTPBasicAuthHelper.py.

Definition at line 51 of file test_HTTPBasicAuthHelper.py.

Definition at line 66 of file test_HTTPBasicAuthHelper.py.

Definition at line 46 of file test_HTTPBasicAuthHelper.py.

Definition at line 47 of file test_HTTPBasicAuthHelper.py.

Definition at line 45 of file test_HTTPBasicAuthHelper.py.

Definition at line 55 of file test_HTTPBasicAuthHelper.py.


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