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