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