Skip to content

Commit a94a35f

Browse files
committed
Fix redis port detection in test_cwe_404
1 parent b1dbc5d commit a94a35f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_asyncio/test_cwe_404.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ def redis_addr(request):
1313
redis_url = request.config.getoption("--redis-url")
1414
assert redis_url.startswith("redis://")
1515
host, port = redis_url[8:].split(":")
16+
port = port.split("/")[0]
1617
return host, int(port)
1718

1819

0 commit comments

Comments
 (0)