[Zope-CVS] CVS: Products/Basket/tests - testBasket.py:1.25

Chris McDonough chrism at plope.com
Thu Nov 10 13:58:31 EST 2005


Update of /cvs-repository/Products/Basket/tests
In directory cvs.zope.org:/tmp/cvs-serv26604/tests

Modified Files:
	testBasket.py 
Log Message:
Make blast-out-to-tempfile behavior work even when dwim mode is used to go find products.


=== Products/Basket/tests/testBasket.py 1.24 => 1.25 ===
--- Products/Basket/tests/testBasket.py:1.24	Thu Nov 10 13:21:29 2005
+++ Products/Basket/tests/testBasket.py	Thu Nov 10 13:58:31 2005
@@ -293,7 +293,7 @@
         self.failUnless(os.path.isfile(os.path.join(pkgdir, 'test_image.jpg')))
         self.failUnless(os.path.realpath(eggdir) in sys.path)
         basket.cleanup()
-        self.failIf(os.path.isdir(tempdir))
+        self.failIf(os.path.exists(tempdir))
 
     def test_product_distributions_by_dwim(self):
         basket = self._makeOne()



More information about the Zope-CVS mailing list