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.
1 parent 4164187 commit 42e80bdCopy full SHA for 42e80bd
tests/test_httpsession.py
@@ -3,7 +3,12 @@
3
4
5
async def test_cannot_create_client_sessions_outside_context(session):
6
- s3_client_context = session.create_client('s3', 'us-west-2')
+ s3_client_context = session.create_client(
7
+ 's3',
8
+ 'us-west-2',
9
+ aws_secret_access_key="xxx",
10
+ aws_access_key_id="xxx",
11
+ )
12
13
async with s3_client_context as s3_client:
14
pass
0 commit comments