def test_good_time_range_mixed_format(self): self.assertTrue( validate.validate_time_range(self.goodEpochString, self.goodIsoStringLong))
def test_good_time_range(self): self.assertTrue( validate.validate_time_range(self.goodIsoStringShort, self.goodIsoStringLong))
def test_bad_time_range(self): with self.assertRaises(TypeError): validate.validate_time_range(self.goodIsoStringLong, self.goodIsoStringShort)
def test_bad_time_range_mixed_format(self): with self.assertRaises(TypeError): validate.validate_time_range(self.goodIsoStringLong, self.goodEpochString)
def test_bad_time_range(self): self.assertFalse( validate.validate_time_range(self.goodIsoStringLong, self.goodIsoStringShort))