Back to index

plone3  3.1.7
Classes | Functions | Variables
ATContentTypes.tests.test_atevent Namespace Reference

Classes

class  TestSiteATEvent
class  TestATEventFields
class  TestATEventFunctional

Functions

def editATCT
def test_suite

Variables

string __author__ = 'Christian Heimes <tiran@cheimes.de>'
string __docformat__ = 'restructuredtext'
string LOCATION = 'my location'
string EV_TYPE = 'Meeting'
string EV_URL = 'http://example.org/'
tuple S_DATE = DateTime()
tuple E_DATE = DateTime()
string C_NAME = 'John Doe'
string C_PHONE = '+1212356789'
string C_EMAIL = 'john@example.org'
tuple EV_ATTENDEES
string TEXT = "lorem ipsum"
list tests = []

Function Documentation

Definition at line 66 of file test_atevent.py.

00066 
00067 def editATCT(obj):
00068     dcEdit(obj)
00069     obj.setLocation(LOCATION)
00070     obj.setEventType(EV_TYPE)
00071     obj.setEventUrl(EV_URL)
00072     obj.setStartDate(S_DATE)
00073     obj.setEndDate(E_DATE)
00074     obj.setContactName(C_NAME)
00075     obj.setContactPhone(C_PHONE)
00076     obj.setContactEmail(C_EMAIL)
00077     obj.setAttendees(EV_ATTENDEES)
00078     obj.setText(TEXT)
00079 

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 621 of file test_atevent.py.

00621 
00622 def test_suite():
00623     suite = unittest.TestSuite()
00624     for test in tests:
00625         suite.addTest(unittest.makeSuite(test))
00626     return suite

Variable Documentation

string ATContentTypes.tests.test_atevent.__author__ = 'Christian Heimes <tiran@cheimes.de>'

Definition at line 22 of file test_atevent.py.

Definition at line 23 of file test_atevent.py.

string ATContentTypes.tests.test_atevent.C_EMAIL = 'john@example.org'

Definition at line 60 of file test_atevent.py.

Definition at line 58 of file test_atevent.py.

Definition at line 59 of file test_atevent.py.

Definition at line 57 of file test_atevent.py.

Initial value:
00001 ('john@doe.com',
00002                 'john@doe.org',
00003                 'john@example.org')

Definition at line 61 of file test_atevent.py.

Definition at line 54 of file test_atevent.py.

string ATContentTypes.tests.test_atevent.EV_URL = 'http://example.org/'

Definition at line 55 of file test_atevent.py.

Definition at line 53 of file test_atevent.py.

Definition at line 56 of file test_atevent.py.

Definition at line 80 of file test_atevent.py.

Definition at line 64 of file test_atevent.py.