We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
test_request_headers
1 parent b7bd2ca commit 5ffd21aCopy full SHA for 5ffd21a
test/ably/rest/resthttp_test.py
@@ -192,7 +192,7 @@ async def test_request_headers(self):
192
193
# Agent
194
assert 'Ably-Agent' in r.request.headers
195
- expr = r"^ably-python\/\d.\d.\d(-beta\.\d)? python\/\d.\d+.\d+$"
+ expr = r"^ably-python\/\d+.\d+.\d+(-beta\.\d+)? python\/\d.\d+.\d+$"
196
assert re.search(expr, r.request.headers['Ably-Agent'])
197
await ably.close()
198
0 commit comments