blob: fb0f044b0568f564973012c174b0505b52d340af (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import unittest
from bot.cogs import sync
from tests import helpers
class SyncExtensionTests(unittest.TestCase):
"""Tests for the sync extension."""
@staticmethod
def test_extension_setup():
"""The Sync cog should be added."""
bot = helpers.MockBot()
sync.setup(bot)
bot.add_cog.assert_called_once()
|