Back to index

plone3  3.1.7
Classes | Functions
CMFTopic.tests.test_DateC Namespace Reference

Classes

class  FriendlyDateCriterionTests
class  FriendlyDateCriterionFunctionalTests

Functions

def _replace_DC__as_of
def test_suite

Function Documentation

def CMFTopic.tests.test_DateC._replace_DC__as_of (   new_callable) [private]

Definition at line 30 of file test_DateC.py.

00030 
00031 def _replace_DC__as_of(new_callable):
00032     from Products.CMFTopic import DateCriteria
00033     old_value = DateCriteria._as_of
00034     DateCriteria._as_of = new_callable
00035     return old_value
00036 

Here is the caller graph for this function:

Definition at line 390 of file test_DateC.py.

00390 
00391 def test_suite():
00392     return unittest.TestSuite((
00393         unittest.makeSuite(FriendlyDateCriterionTests),
00394         unittest.makeSuite(FriendlyDateCriterionFunctionalTests),
00395         ))

Here is the call graph for this function: