Changeset 8208 for main/waeup.kofa/trunk/src/waeup/kofa
- Timestamp:
- 18 Apr 2012, 12:48:54 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/widgets/tests/test_datetimewidget.py
r8207 r8208 40 40 ] 41 41 42 def setUp(self): 43 super(PytzDatetimeWidgetTests, self).setUp() 44 self.gsm = getGlobalSiteManager() 45 self.utils = FakeUtils() 46 self.gsm.registerUtility(self.utils) 47 return 48 49 def tearDown(self): 50 super(PytzDatetimeWidgetTests, self).tearDown() 51 self.gsm.unregisterUtility(self.utils) 52 return 53 42 54 def test_iface(self): 43 55 # make sure we fullfill interface contracts … … 75 87 return 76 88 77 def setUp(self):78 super(PytzDatetimeWidgetTests, self).setUp()79 self.gsm = getGlobalSiteManager()80 self.utils = FakeUtils()81 self.gsm.registerUtility(self.utils)82 return83 84 def tearDown(self):85 super(PytzDatetimeWidgetTests, self).tearDown()86 self.gsm.unregisterUtility(self.utils)87 return88 89 89 def test_datetimes_wo_tz(self): 90 90 # Datetimes w/o tz are considered to be meant in app-wide timezone.
Note: See TracChangeset for help on using the changeset viewer.