aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar S. Co1 <[email protected]>2020-02-25 12:47:09 -0500
committerGravatar S. Co1 <[email protected]>2020-02-25 12:50:42 -0500
commit284c1de321fea5927dafc1ac3192ad763bda3203 (patch)
treebf753927c71976f1dd4c62ec0f5bf1258a308fde /tests
parentConfigure staff role & channel groupings in YAML (diff)
Fix mismatched constant names in syncer tests
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/cogs/sync/test_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bot/cogs/sync/test_base.py b/tests/bot/cogs/sync/test_base.py
index e6a6f9688..c2e143865 100644
--- a/tests/bot/cogs/sync/test_base.py
+++ b/tests/bot/cogs/sync/test_base.py
@@ -84,7 +84,7 @@ class SyncerSendPromptTests(unittest.TestCase):
mock_()
await self.syncer._send_prompt()
- method.assert_called_once_with(constants.Channels.devcore)
+ method.assert_called_once_with(constants.Channels.dev_core)
@helpers.async_test
async def test_send_prompt_returns_None_if_channel_fetch_fails(self):
@@ -135,7 +135,7 @@ class SyncerConfirmationTests(unittest.TestCase):
def setUp(self):
self.bot = helpers.MockBot()
self.syncer = TestSyncer(self.bot)
- self.core_dev_role = helpers.MockRole(id=constants.Roles.core_developer)
+ self.core_dev_role = helpers.MockRole(id=constants.Roles.core_developers)
@staticmethod
def get_message_reaction(emoji):