import pytest import discord from discord.ext import commands from cogs.starboard_cog import StarboardCog @pytest.mark.asyncio async def test_starboard_cog_load(): intents = discord.Intents.none() bot = commands.Bot(command_prefix="!", intents=intents) cog = StarboardCog(bot) await bot.add_cog(cog) assert cog in bot.cogs.values()