diff options
| author | 2020-01-07 10:45:02 -0800 | |
|---|---|---|
| committer | 2020-02-12 10:07:51 -0800 | |
| commit | 7215a9483cb9ebae89d147f950dd62996d86beeb (patch) | |
| tree | 0122253b79be86cf4954395ac780bd6c8674c8d6 /tests | |
| parent | Sync tests: reset mocks in channel fixtures (diff) | |
Sync tests: rename channel fixtures
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/bot/cogs/sync/test_base.py | 4 |
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 ff67eb334..1d61f8cb2 100644 --- a/tests/bot/cogs/sync/test_base.py +++ b/tests/bot/cogs/sync/test_base.py @@ -24,7 +24,7 @@ class SyncerBaseTests(unittest.TestCase): self.bot = helpers.MockBot() self.syncer = TestSyncer(self.bot) - def mock_dev_core_channel(self): + def mock_get_channel(self): """Fixture to return a mock channel and message for when `get_channel` is used.""" self.bot.reset_mock() @@ -36,7 +36,7 @@ class SyncerBaseTests(unittest.TestCase): return mock_channel, mock_message - def mock_dev_core_channel_cache_miss(self): + def mock_fetch_channel(self): """Fixture to return a mock channel and message for when `fetch_channel` is used.""" self.bot.reset_mock() |