diff options
author | 2022-08-15 22:14:32 +0100 | |
---|---|---|
committer | 2022-08-15 23:27:42 +0100 | |
commit | e0b593318eba77d6fe93f2145b43838d6eb09278 (patch) | |
tree | 9fd1760b61724cb9d2885a23545c8eb5a70ef619 /tests/helpers.py | |
parent | Merge pull request #2249 from python-discord/redis-fix (diff) |
Correctly initialise redis tests
Calling the cog_load from within the setUp function resulted in interaction with a RedisSession before it was initialised.
This wasn't noticed in CI as it only error under certain concurrency timings due to xdist.
To resolve this, we moved the setup and async setup logic to a base class.
Co-authored-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'tests/helpers.py')
0 files changed, 0 insertions, 0 deletions