Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes
GenericSetup.tests.test_events.ProfileImportedEventTests Class Reference
Inheritance diagram for GenericSetup.tests.test_events.ProfileImportedEventTests:
Inheritance graph
Collaboration diagram for GenericSetup.tests.test_events.ProfileImportedEventTests:
Collaboration graph

List of all members.

Public Member Functions

def testInterface
def testNormalConstruction
def testKeywordConstruction

Static Public Attributes

 klass = ProfileImportedEvent
 iface = IProfileImportedEvent

Detailed Description

Definition at line 33 of file

Member Function Documentation

Definition at line 9 of file

00010     def testInterface(self):
00011         event=self.klass("tool", "profile_id", "steps", "full_import")
00012         verifyObject(self.iface, event)

Definition at line 20 of file

00021     def testKeywordConstruction(self):
00022         event=self.klass(tool="tool", profile_id="profile_id", steps="steps", full_import="full_import")
00023         self.assertEqual(event.tool, "tool")
00024         self.assertEqual(event.profile_id, "profile_id")
00025         self.assertEqual(event.steps, "steps")
00026         self.assertEqual(event.full_import, "full_import")

Definition at line 13 of file

00014     def testNormalConstruction(self):
00015         event=self.klass("tool", "profile_id", "steps", "full_import")
00016         self.assertEqual(event.tool, "tool")
00017         self.assertEqual(event.profile_id, "profile_id")
00018         self.assertEqual(event.steps, "steps")
00019         self.assertEqual(event.full_import, "full_import")

Member Data Documentation

Definition at line 35 of file

Definition at line 34 of file

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