Try to fix tests

pull/115/head
stijndcl 2022-06-23 11:24:12 +02:00
parent 3ce823f209
commit cc8f8b1ee4
2 changed files with 1 additions and 2 deletions

View File

@ -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("🔄")

View File

@ -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