We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53249b3 commit 67a33f7Copy full SHA for 67a33f7
1 file changed
tests/integrations/sanic/test_sanic.py
@@ -15,6 +15,7 @@
15
from sentry_sdk import capture_message
16
from sentry_sdk.integrations.sanic import SanicIntegration
17
from sentry_sdk.tracing import TransactionSource
18
+from tests.conftest import get_free_port
19
20
try:
21
from sanic_testing import TestManager
@@ -85,7 +86,7 @@ def simple_client(app):
85
86
yield app.test_client
87
88
if ReusableClient is not None:
- return ReusableClient(app)
89
+ return ReusableClient(app, port=get_free_port())
90
else:
91
return simple_client(app)
92
0 commit comments