def test_match(self): for x in [ "stop", "stopall", "unsubscribe", "cancel", "end", "quit", "start", "yes", "help", "info", "name" ]: with pytest.raises(ValidationError): twilio_reserved(x)
def test_ok(self): twilio_reserved('not_stop')