Skip to content

Commit

Permalink
Update tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
bakar-io committed May 3, 2024
1 parent acb58c1 commit 980acec
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion backend/tests/unit_tests/app/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,14 @@ async def test_threads() -> None:
assert response.status_code == 200
assert [
_project(d, exclude_keys=["updated_at", "user_id"]) for d in response.json()
] == [{"assistant_id": aid, "name": "bobby", "thread_id": tid}]
] == [
{
"assistant_id": aid,
"name": "bobby",
"thread_id": tid,
"metadata": {"assistant_type": "chatbot"},
}
]

response = await client.put(
f"/threads/{tid}",
Expand Down

0 comments on commit 980acec

Please sign in to comment.