CVS: Products/Basket/tests - testBasket.py:1.25
Chris McDonough <[email protected]> Thu, 10 Nov 2005 13:58:31 -0500 (EST)
| Newsgroups | gmane.comp.web.zope.public-cvs |
|---|---|
| Message-ID | <[email protected]> |
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()
_______________________________________________
Zope-CVS maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zope-cvs
Zope CVS instructions: http://dev.zope.org/CVS