diff --git a/didier/cogs/owner.py b/didier/cogs/owner.py index 60fbe78..91fe500 100644 --- a/didier/cogs/owner.py +++ b/didier/cogs/owner.py @@ -36,7 +36,6 @@ class Owner(commands.Cog): self.client.tree.copy_global_to(guild=guild) await self.client.tree.sync(guild=guild) else: - # self.client.tree.clear_commands(guild=None) await self.client.tree.sync() await ctx.message.add_reaction("🔄") diff --git a/tests/conftest.py b/tests/conftest.py index c2c5e0a..3c5761b 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -19,7 +19,7 @@ def event_loop() -> Generator: @pytest.fixture(scope="session") -def tables(event_loop): +def tables(): """Initialize a database before the tests, and then tear it down again Starts from an empty database and runs through all the migrations to check those as well while we're at it