Back to index

moin  1.9.0~rc2
Public Member Functions | Static Public Attributes
MoinMoin.conftest.MoinClassCollector Class Reference

List of all members.

Public Member Functions

def setup

Static Public Attributes

 Function = MoinTestFunction

Detailed Description

Definition at line 97 of file

Member Function Documentation

Definition at line 100 of file

00101     def setup(self):
00102         cls = self.obj
00103         if hasattr(cls, 'Config'):
00104             cls.request = init_test_request(given_config=cls.Config)
00105             cls.client = Client(Application(cls.Config))
00106         else:
00107             cls.request = self.parent.request
00108             #XXX: this is the extremely messy way to configure the wsgi app
00109             #     with the correct testing config
00110             cls.client = Client(Application(self.parent.request.cfg.__class__))
00111         super(MoinClassCollector, self).setup()

Here is the call graph for this function:

Member Data Documentation

Definition at line 98 of file

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