aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/cogs/test_jams.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/bot/cogs/test_jams.py b/tests/bot/cogs/test_jams.py
new file mode 100644
index 000000000..33dee593e
--- /dev/null
+++ b/tests/bot/cogs/test_jams.py
@@ -0,0 +1,14 @@
+import unittest
+
+from bot.constants import Roles
+from tests.helpers import MockBot, MockContext, MockMember, MockRole
+
+
+class JamCreateTeamTests(unittest.IsolatedAsyncioTestCase):
+ """Tests for `createteam` command."""
+
+ def setUp(self):
+ self.bot = MockBot()
+ self.admin_role = MockRole(name="Admins", id=Roles.admins)
+ self.command_user = MockMember([self.admin_role])
+ self.context = MockContext(bot=self.bot, author=self.command_user)