[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Security/tests - testSettings.py:1.1.2.2

Steve Alexander steve@cat-box.net
Wed, 20 Mar 2002 18:13:24 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/Security/tests
In directory cvs.zope.org:/tmp/cvs-serv13625/lib/python/Zope/App/Security/tests

Modified Files:
      Tag: Zope-3x-branch
	testSettings.py 
Log Message:
better use of failUnless rather than assertEqual(a is b, 1).


=== Zope3/lib/python/Zope/App/Security/tests/testSettings.py 1.1.2.1 => 1.1.2.2 ===
         newAllow = u.load()
         
-        self.assertEqual(newAllow is Allow, 1)
+        self.failUnless(newAllow is Allow)
 
 def test_suite():
     loader=unittest.TestLoader()