def test_alphanumeric_extension(): error = e.wrong_type('exten', 'numeric string') response = confd.extensions.post(context='default', exten='ABC123') response.assert_match(400, error)
def test_empty_end_date(self): response = self.client.call_logs.get(start_date='2013-01-29T00:00:00', end_date='') response.assert_match(400, e.wrong_type(field='end_date', type='datetime'))
def test_empty_end_date(self): response = self.client.call_logs.get(start_date='2013-01-29T00:00:00', end_date='') response.assert_match(400, e.wrong_type(field='end_date', type='datetime'))