def test_duration_fail(self): response = {'duration': 'PT14M15S'} self.assertFalse(Validate.duration(response))
def test_duration_pass(self): response = {'duration': 'PT04M15S'} self.assertTrue(Validate.duration(response))