Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

chore: patch timezone tests (#3789)

Sarah Wooders8b1490c87994
diff --git a/tests/test_client.py b/tests/test_client.py
index 3f860ce9a..f4606f994 100644
--- a/tests/test_client.py
+++ b/tests/test_client.py
@@ -679,7 +679,9 @@ def test_timezone(client: Letta):
"America/Los_Angeles" in response.messages[1].content
or "PDT" in response.messages[1].content
or "PST" in response.messages[1].content
- )
+ or "Pacific Daylight Time" in response.messages[1].content
+ or "Pacific Standard Time" in response.messages[1].content
+ ), f"Response content: {response.messages[1].content} does not contain expected timezone"
# test updating the timezone
client.agents.modify(agent_id=agent.id, timezone="America/New_York")