Skip to content

Commit

Permalink
Fix index error bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ThorntonMatthewD committed Oct 24, 2023
1 parent 5c9fb06 commit 5a5dade
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import mocks
import pytest
import pytest_asyncio
from fastapi.testclient import TestClient

import bot
Expand All @@ -25,8 +24,8 @@ def threads_appear_dead(monkeypatch):
monkeypatch.setattr(Thread, "is_alive", lambda x: False)


@pytest_asyncio.fixture
async def db_cleanup():
@pytest.fixture
def db_cleanup():
"""
Fixture to clean the database after tests.
"""
Expand Down

0 comments on commit 5a5dade

Please sign in to comment.