mirror of https://github.com/stijndcl/didier
Try to fix tests
parent
3ce823f209
commit
cc8f8b1ee4
|
@ -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("🔄")
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue