Exemplo n.º 1
0
 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)
Exemplo n.º 2
0
 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)
Exemplo n.º 3
0
 def test_ok(self):
     twilio_reserved('not_stop')
Exemplo n.º 4
0
 def test_ok(self):
     twilio_reserved('not_stop')