Skip to content

Commit

Permalink
use hash_long_string
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroshiba committed Feb 21, 2024
1 parent 32d81bb commit b8b7adf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion test/e2e/test_engine_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
/engine_manifest APIのテスト
"""

from test.utility import hash_long_string

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


def test_エンジンマニフェストを取得できる(client: TestClient, snapshot_json: SnapshotAssertion) -> None:
response = client.get("/engine_manifest")
assert response.status_code == 200
assert snapshot_json == response.json()
assert snapshot_json == hash_long_string(response.json())

0 comments on commit b8b7adf

Please sign in to comment.