mirror of
https://github.com/evroon/bracket.git
synced 2026-01-02 19:17:53 -05:00
Updates the requirements on [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) to permit the latest version. - [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) - [Commits](pytest-dev/pytest-asyncio@v0.21.2...v0.25.3)
11 lines
291 B
Python
11 lines
291 B
Python
import pytest
|
|
|
|
from bracket.sql.users import delete_user_and_owned_clubs
|
|
from bracket.utils.db_init import sql_create_dev_db
|
|
|
|
|
|
@pytest.mark.asyncio(loop_scope="session")
|
|
async def test_db_init() -> None:
|
|
user_id = await sql_create_dev_db()
|
|
await delete_user_and_owned_clubs(user_id)
|