diff options
author | 2020-05-22 15:44:04 -0700 | |
---|---|---|
committer | 2020-05-22 15:44:04 -0700 | |
commit | 45e6f8dba869a367b01d99a596bd3355802d1fbe (patch) | |
tree | 94fe6ab3848ba59bd7f3ca0941625edcf4c4ad78 /tests/helpers.py | |
parent | Fix assertion for `create_task` in duck pond tests (diff) |
Improve aiohttp context manager mocking in snekbox tests
I'm not sure how it even managed to work before. It was calling the
`post` coroutine (without specifying a URL) and then changing
`__aenter__`. Now, a separate mock is created for the context manager
and the `post` simply returns that mocked context manager.
Diffstat (limited to 'tests/helpers.py')
0 files changed, 0 insertions, 0 deletions