File size: 349 Bytes
edc06cb
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
"""
/speakers API のテスト
"""

from fastapi.testclient import TestClient
from syrupy.assertion import SnapshotAssertion


def test_get_speakers_200(client: TestClient, snapshot_json: SnapshotAssertion) -> None:
    response = client.get("/speakers", params={})
    assert response.status_code == 200
    assert snapshot_json == response.json()