web/test/unittest_views_baseforms.py
branchtls-sprint
changeset 985 6a25c58a1c23
parent 801 7d49d871b18c
parent 952 8e4da466efc7
child 1016 26387b836099
equal deleted inserted replaced
984:536e421b082b 985:6a25c58a1c23
    17 def setup_module(options):
    17 def setup_module(options):
    18     def _today():
    18     def _today():
    19         return DateTime(0000, 1, 1)
    19         return DateTime(0000, 1, 1)
    20     widgets.today = widgets.now = _today
    20     widgets.today = widgets.now = _today
    21 
    21 
    22 def teardown_module(options, result):
    22 def teardown_module(options, results):
    23     widgets.today = orig_today
    23     widgets.today = orig_today
    24     widgets.now = orig_now
    24     widgets.now = orig_now
    25 
    25 
    26 
    26 
    27 def cleanup_text(text):
    27 def cleanup_text(text):