def test_time_format_no_dt(self):
     self.dt_time = ''
     response = time_format(self.dt_time)
     self.assertFalse(response)
 def test_time_format_have_dt(self):
     self.dt_time = datetime.now(UTC())
     #self.dt_time = 'datetime(2015, 4, 22, 8, 21, 11, 910690, tzinfo=<UTC>)'
     response = time_format(self.dt_time)
     self.assertTrue(response)