[Zope-CVS] CVS: Products/Basket/tests - testBasket.py:1.8
Chris McDonough
chrism at plope.com
Tue Nov 8 13:29:51 EST 2005
Update of /cvs-repository/Products/Basket/tests
In directory cvs.zope.org:/tmp/cvs-serv2206/tests
Modified Files:
testBasket.py
Log Message:
EggProductContext tests now pass.
=== Products/Basket/tests/testBasket.py 1.7 => 1.8 ===
--- Products/Basket/tests/testBasket.py:1.7 Tue Nov 8 12:53:54 2005
+++ Products/Basket/tests/testBasket.py Tue Nov 8 13:29:51 2005
@@ -299,17 +299,16 @@
from OFS.Folder import Folder
self.assert_( ('aPermission', (),) in Folder.__ac_permissions__)
- def test_meta_types_set(self):
+ def test_module_meta_types_munged(self):
app = DummyApp()
package = DummyPackage()
package.meta_types = ( {'name':'grabass', 'action':'amethod'}, )
context = self._makeOne('DummyProduct', dummy_initializer, app, package)
- meta_types = []
data = context.install()
from OFS.Folder import Folder
- self.assert_({'action': 'amethod', 'product': 'abaz',
- 'name': 'grabass', 'visibility': 'Global'}
- in meta_types)
+ self.assertEqual(({'action': 'amethod', 'product': 'DummyProduct',
+ 'name': 'grabass', 'visibility': 'Global'},),
+ package.meta_types)
def test_methods_set(self):
app = DummyApp()
More information about the Zope-CVS
mailing list