Commit 79b5aa2
authored
Fix and update integration tests (#163)
The API client is a singleton, and many integration tests had issues
running because the client got disconnected. Also the event loop was
scoped for the session rather than per function (default set in
pyproject.toml).
So the client was updated so that it reconnects for each test to ensure
its internal state is not corrupted and the event loop
is now function scoped.
Also the tests were updated to use the new endpoints and remove the ones
that no longer exist.File tree
3 files changed
+198
-176
lines changed- .github/workflows
- integration_tests
- tests
3 files changed
+198
-176
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
0 commit comments