Commit 70b92f39 authored by Stefan H. Holek's avatar Stefan H. Holek

Reenable a test that failed due to bad interaction with ZopeTestCase.

parent 7b10cecd
...@@ -151,15 +151,13 @@ class TestProductInit( unittest.TestCase ): ...@@ -151,15 +151,13 @@ class TestProductInit( unittest.TestCase ):
self.assert_(name in names) self.assert_(name in names)
self.assert_('another' in names) self.assert_('another' in names)
# DISABLED because ZopeTestCase messes with import_products() def test_import_products(self):
# making the test fail. Consequence of Five integration. self.makeFakeProducts()
#def test_import_products(self): self.configure(cfg)
# self.makeFakeProducts() from OFS.Application import import_products
# self.configure(cfg) names = import_products()
# from OFS.Application import import_products for name in FAKEPRODUCTS:
# names = import_products() assert name in names
# for name in FAKEPRODUCTS:
# assert name in names
def test_import_product_throws(self): def test_import_product_throws(self):
self.makeProduct(os.path.join(TEMPPRODUCTS, 'abar')) self.makeProduct(os.path.join(TEMPPRODUCTS, 'abar'))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment