8000 Update test_webhook.py · twilio/twilio-python@96391ec · GitHub
[go: up one dir, main page]

Skip to content

Commit 96391ec

Browse files
Update test_webhook.py
1 parent fda3a53 commit 96391ec

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/cluster/test_webhook.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,8 @@ def setUp(self):
4444
port_number = 7777
4545
self.validation_server = HTTPServer(("", port_number), RequestHandler)
4646
self.tunnel = subprocess.Popen(["jprq", "http", str(port_number)])
47-
print(self.tunnel.stderr.read())
48-
if self.tunnel.returncode:
49-
raise Exception("JPRQ failed to start")
47+
print(self.tunnel.stderr)
48+
print(self.tunnel.stdout)
5049
self.tunnel_url = (
5150
self.tunnel.stdout.readline().decode().strip()
5251
) # Capture the URL

0 commit comments

Comments
 (0)
0