aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2022-04-02 22:42:58 +0100
committerGravatar Chris Lovering <[email protected]>2022-04-18 17:45:25 +0100
commit277bb011d8ae6b1c58c9de80d10b61791ee1fc49 (patch)
treeac8cedba8531598b12ab1ed70ec73d6ded6acb42
parentRemove async stats and site api wrapper (diff)
Adding missing kwargs required by BotBase in test helper
-rw-r--r--tests/helpers.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/helpers.py b/tests/helpers.py
index 3e6290e58..e6e95c20c 100644
--- a/tests/helpers.py
+++ b/tests/helpers.py
@@ -312,6 +312,9 @@ class MockBot(CustomMockMixin, unittest.mock.MagicMock):
command_prefix=unittest.mock.MagicMock(),
loop=_get_mock_loop(),
redis_session=unittest.mock.MagicMock(),
+ http_session=unittest.mock.MagicMock(),
+ allowed_roles=[1],
+ guild_id=1,
)
additional_spec_asyncs = ("wait_for", "redis_ready")