def testEmptyValue(self): self.assertEquals(convert_time(''), '')
def testNoneValue(self): self.assertEquals(convert_time(None), '')
def testNoonTimeConversion(self): self.assertEquals(convert_time('12:30:10PM'), '12:30:10')
def testMidnightTimeConversion(self): self.assertEquals(convert_time('12:30:10AM'), '00:30:10')
def testPmTimeConversion(self): self.assertEquals(convert_time('07:05:45PM'), '19:05:45')
def testAmTimeConversion(self): self.assertEquals(convert_time('07:05:45AM'), '07:05:45')