Skip to content

Commit cd3b41c

Browse files
committed
ruff format in integration-tests/ to fix formatting error from CI
1 parent cc52f13 commit cd3b41c

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

‎integration-tests/README.md‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,7 @@ client = AuthenticatedClient(
5656
You can also disable certificate validation altogether, but beware that **this is a security risk**.
5757

5858
```python
59-
client = AuthenticatedClient(
60-
base_url="https://internal_api.example.com",
61-
token="SuperSecretToken",
62-
verify_ssl=False
63-
)
59+
client = AuthenticatedClient(base_url="https://internal_api.example.com", token="SuperSecretToken", verify_ssl=False)
6460
```
6561

6662
Things to know:
@@ -81,13 +77,16 @@ There are more settings on the generated `Client` class which let you control mo
8177
```python
8278
from integration_tests import Client
8379

80+
8481
def log_request(request):
8582
print(f"Request event hook: {request.method} {request.url} - Waiting for response")
8683

84+
8785
def log_response(response):
8886
request = response.request
8987
print(f"Response event hook: {request.method} {request.url} - Status {response.status_code}")
9088

89+
9190
client = Client(
9291
base_url="https://api.example.com",
9392
httpx2_args={"event_hooks": {"request": [log_request], "response": [log_response]}},

0 commit comments

Comments
 (0)