fix: improve maintenance and synchronize live conversations
This commit is contained in:
1 parent
bb541bd212
commit
ef86a5d3af
297 files changed
+2983
-1274
No files matched your search
@@ -182,13 +182,13 @@ def test_close_session(session_repo, test_session):
|
||||
def test_get_agent_sessions(session_repo, test_agent, test_organization_id, test_customer):
|
||||
"""Test retrieving all sessions for an agent"""
|
||||
# Create multiple sessions
|
||||
session1 = session_repo.create_session(
|
||||
session_repo.create_session(
|
||||
session_id=uuid4(),
|
||||
agent_id=test_agent.id,
|
||||
customer_id=test_customer.id,
|
||||
organization_id=test_organization_id
|
||||
)
|
||||
session2 = session_repo.create_session(
|
||||
session_repo.create_session(
|
||||
session_id=uuid4(),
|
||||
agent_id=test_agent.id,
|
||||
customer_id=test_customer.id,
|
||||
@@ -239,7 +239,7 @@ def test_get_open_sessions(session_repo, test_session):
|
||||
def test_get_customer_sessions(session_repo, test_session, test_customer):
|
||||
"""Test retrieving all sessions for a customer"""
|
||||
# Create another session for the same customer
|
||||
session2 = session_repo.create_session(
|
||||
session_repo.create_session(
|
||||
session_id=uuid4(),
|
||||
agent_id=test_session.agent_id,
|
||||
customer_id=test_customer.id,
|
||||
|
||||
Reference in new issue
Block a user