[Zope3-checkins] CVS: Zope3/src/zope/app/rdb/tests - test_dsnparser.py:1.3

Steve Alexander steve@cat-box.net
Mon, 9 Jun 2003 10:58:35 -0400


Update of /cvs-repository/Zope3/src/zope/app/rdb/tests
In directory cvs.zope.org:/tmp/cvs-serv28637/src/zope/app/rdb/tests

Modified Files:
	test_dsnparser.py 
Log Message:
Converted asserts into tests and ValueErrors.
So doing, removed an XXX comment.


=== Zope3/src/zope/app/rdb/tests/test_dsnparser.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/rdb/tests/test_dsnparser.py:1.2	Wed Dec 25 09:13:14 2002
+++ Zope3/src/zope/app/rdb/tests/test_dsnparser.py	Mon Jun  9 10:58:35 2003
@@ -60,8 +60,8 @@
         self.assertEqual(result, parseDSN(dsn))
 
     def testFailures(self):
-        self.assertRaises(AssertionError, parseDSN, None)
-        self.assertRaises(AssertionError, parseDSN, 'dfi://')
+        self.assertRaises(ValueError, parseDSN, None)
+        self.assertRaises(ValueError, parseDSN, 'dfi://')
 
 def test_suite():
     suite = unittest.TestSuite()