def test_valid_time_base(self): base_time = utils.parse_time_base('days since 1988-06-10 00:00:00') start_time = datetime.datetime.strptime('1988-06-10 00:00:00', '%Y-%m-%d %H:%M:%S') self.assertEquals(base_time, start_time)
def test_valid_time_base(self): base_time = utils.parse_time_base('days since 1988-06-10 00:00:00') start_time = datetime.datetime.strptime( '1988-06-10 00:00:00', '%Y-%m-%d %H:%M:%S') self.assertEquals(base_time, start_time)