Back to index

plone3  3.1.7
Classes | Functions | Variables
wicked.at.tests.wickedtestcase Namespace Reference

Classes

class  WickedSite
class  WickedTestCase

Functions

def init_product
def makeContent

Variables

string TITLE1 = "Cop Shop"
string TITLE2 = 'DMV Computer has died'
 USELXML = False

Function Documentation

def wicked.at.tests.wickedtestcase.init_product (   module_,
  app,
  init_func = None 
)

Definition at line 28 of file wickedtestcase.py.

00028 
00029 def init_product(module_, app, init_func=None):
00030     product = initializeProduct(module_,
00031                                 module_.__name__,
00032                                 module_.__path__[0],
00033                                 app)
00034     
00035     product.package_name = module_.__name__
00036     
00037     if init_func is not None:
00038         newContext = ProductContext(product, app, module_)
00039         init_func(newContext)
00040 

Here is the caller graph for this function:

def wicked.at.tests.wickedtestcase.makeContent (   container,
  id,
  portal_type,
  kw 
)

Definition at line 140 of file wickedtestcase.py.

00140 
00141 def makeContent(container, id, portal_type, **kw):
00142     container.invokeFactory(id=id, type_name=portal_type, **kw)
00143     o = getattr(container, id)
00144     return o

Variable Documentation

Definition at line 20 of file wickedtestcase.py.

string wicked.at.tests.wickedtestcase.TITLE2 = 'DMV Computer has died'

Definition at line 21 of file wickedtestcase.py.

Definition at line 23 of file wickedtestcase.py.