[Zope-CVS] CVS: Packages/JobBoardEx/tests - testJob.py:1.2

Fred L. Drake, Jr. fdrake@acm.org
Tue, 19 Mar 2002 17:56:21 -0500


Update of /cvs-repository/Packages/JobBoardEx/tests
In directory cvs.zope.org:/tmp/cvs-serv31872/tests

Modified Files:
	testJob.py 
Log Message:
Force the jobs to remember their own ID.  ;-(

=== Packages/JobBoardEx/tests/testJob.py 1.1 => 1.2 ===
     def setUp(self):
         self.job = Job("submitter", "summary", "description",
-                       "contactURL", "contactEmail")
+                       "contactURL", "contactEmail", "id")
 
     def test_initialization(self):
+        self.job.getId()
         self.assertEqual(self.job.getSubmitter(), 'submitter')
         self.assertEqual(self.job.getSummary(), 'summary')
         self.assertEqual(self.job.getDescription(), 'description')