[Checkins] SVN: Products.CMFDefault/trunk/Products/CMFDefault/tests/test_SyndicationInfo.py Initial test definitions for SyndicationInfo

Charlie Clark charlie at begeistert.org
Sun Oct 3 13:32:25 EDT 2010


Log message for revision 117202:
  Initial test definitions for SyndicationInfo

Changed:
  A   Products.CMFDefault/trunk/Products/CMFDefault/tests/test_SyndicationInfo.py

-=-
Added: Products.CMFDefault/trunk/Products/CMFDefault/tests/test_SyndicationInfo.py
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/tests/test_SyndicationInfo.py	                        (rev 0)
+++ Products.CMFDefault/trunk/Products/CMFDefault/tests/test_SyndicationInfo.py	2010-10-03 17:32:25 UTC (rev 117202)
@@ -0,0 +1,47 @@
+"""
+Unit tests for the SyndicationInfo adapter
+"""
+
+import unittest
+
+from zope.interface.verify import verifyClass
+
+from Products.CMFCore.tests.base.testcase import TransactionalTest
+
+
+class SyndicationInfoTests(TransactionalTest):
+    
+    def _getTargetClass(self):
+        from Products.CMFDefault.SyndicationInfo import SyndicationInfo
+        return SyndicationInfo
+    
+    def test_inteface(self):
+        from Products.CMFCore.interfaces import ISyndicationInfo
+        verifyClass(ISyndicationInfo, self._getTargetClass())
+    
+    def test_get_info(self):
+        pass
+    
+    def test_set_info(self):
+        pass
+    
+    def revert(self):
+        pass
+    
+    def test_site_settings(self):
+        pass
+    
+    def test_enabled(self):
+        pass
+    
+    def test_enable(self):
+        pass
+    
+    def test_disable(self):
+        pass
+    
+
+def test_suite():
+    return unittest.TestSuite((
+        unittest.makeSuite(SyndicationInfoTests),
+        ))


Property changes on: Products.CMFDefault/trunk/Products/CMFDefault/tests/test_SyndicationInfo.py
___________________________________________________________________
Added: svn:eol-style
   + native



More information about the checkins mailing list