[Zope3-checkins] CVS: zopeproducts/demo/jobboardi18n/tests - testJob.py:1.2

Fred L. Drake, Jr. fred@zope.com
Wed, 9 Apr 2003 14:00:39 -0400


Update of /cvs-repository/zopeproducts/demo/jobboardi18n/tests
In directory cvs.zope.org:/tmp/cvs-serv13881

Modified Files:
	testJob.py 
Log Message:
- update imports to match the implementation
- minor cleanups


=== zopeproducts/demo/jobboardi18n/tests/testJob.py 1.1 => 1.2 ===
--- zopeproducts/demo/jobboardi18n/tests/testJob.py:1.1	Mon Jun 17 19:57:57 2002
+++ zopeproducts/demo/jobboardi18n/tests/testJob.py	Wed Apr  9 14:00:39 2003
@@ -4,13 +4,13 @@
 
 import unittest
 
-from ZopeProducts.JobBoardEx.Job import Job
-from ZopeProducts.JobBoardEx.IJob import JobState
+from zopeproducts.demo.jobboardi18n.I18nJob import I18nJob
+from zopeproducts.demo.jobboard.IJob import JobState
 
 class JobTestCase(unittest.TestCase):
 
     def setUp(self):
-        self.job = Job("submitter", "summary", "description", "contact")
+        self.job = I18nJob("submitter", "summary", "description", "contact")
 
     def test_initialization(self):
         job = self.job
@@ -25,7 +25,7 @@
         self.assertEqual(self.job.state, JobState.Approved)
 
 def test_suite():
-    return unittest.TestSuite((unittest.makeSuite(JobTestCase),))
+    return unittest.makeSuite(JobTestCase)
 
 if __name__ == "__main__":
     unittest.main(defaultTest='test_suite')