mirror of
https://github.com/evroon/bracket.git
synced 2026-01-03 03:27:59 -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)
10 lines
307 B
Python
10 lines
307 B
Python
import pytest
|
|
|
|
from bracket.utils.http import HTTPMethod
|
|
from tests.integration_tests.api.shared import send_request
|
|
|
|
|
|
@pytest.mark.asyncio(loop_scope="session")
|
|
async def test_ping_endpoint(startup_and_shutdown_uvicorn_server: None) -> None:
|
|
assert await send_request(HTTPMethod.GET, "ping") == "ping"
|