Пример #1
0
 def test_today(self):
     self.assertEqual(time.strftime('%Y-%m-%d'), JITime.today())
Пример #2
0
 def test_today(self):
     self.assertEqual(time.strftime('%Y-%m-%d'), JITime.today())
Пример #3
0
 def test_launcher(self):
     router_table['today'] = JITime.today
     self.assertEqual(Router.launcher(action='today', content='-'), JITime.today())
Пример #4
0
 def test_launcher(self):
     router_table['today'] = JITime.today
     self.assertEqual(Router.launcher(action='today', content='-'),
                      JITime.today())