CVS: Products/Basket/tests - testBasket.py:1.8

Chris McDonough <[email protected]>
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-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()

_______________________________________________
Zope-CVS maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zope-cvs

Zope CVS instructions: http://dev.zope.org/CVS
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.