Skip to content

Commit e8221dd

Browse files
Update tests/README.md
Co-authored-by: Lucas Hardt <Luc1412.lh@gmail.com>
1 parent 3ee8cfd commit e8221dd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ Thus, all tests that make API calls will import and use the `ClientHybrid`.
3535

3636
As an example, consider the user requesting to call `fetch_aes()` using the `ClientHybrid`:
3737

38-
- The `ClientHybrid` class is initialized as a context manager, the same as you would with a `Client`.
39-
- The `fetch_aes()` method is called on the `ClientHybrid`.
40-
- The sync method of `fetch_aes()` is called on an internally held `SyncClient` class.
41-
- The async method of `fetch_aes()` is called on the `Client` itself.
42-
- The result, if reconstructable or comparable, is checked to ensure that both returned objects are the same.
43-
- The result of the async method call is returned as the final value.
38+
1. The `ClientHybrid` class is initialized as a context manager, the same as you would with a `Client`.
39+
2. The `fetch_aes()` method is called on the `ClientHybrid`.
40+
3. The sync method of `fetch_aes()` is called on an internally held `SyncClient` class.
41+
4. The async method of `fetch_aes()` is called on the `Client` itself.
42+
5. The result, if reconstructable or comparable, is checked to ensure that both returned objects are the same.
43+
6. The result of the async method call is returned as the final value.
4444

4545
This approach, although loop blocking in nature, ensures that the results from both the `Client` and `SyncClient` are the same.
4646

0 commit comments

Comments
 (0)