feat: chat
This commit is contained in:
@@ -452,6 +452,17 @@ def test_uex_client_uses_bearer_and_secret_headers():
|
||||
assert headers["Authorization"] == "Bearer bearer"
|
||||
|
||||
|
||||
def test_uex_client_uses_configured_close_endpoint():
|
||||
client = UEXClient(
|
||||
"https://api.uexcorp.space/2.0",
|
||||
secret_key="secret",
|
||||
bearer_token="bearer",
|
||||
negotiation_close_endpoint="custom_close_endpoint",
|
||||
)
|
||||
|
||||
assert client.negotiation_close_endpoint == "custom_close_endpoint"
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_uex_get_projects_and_limits_results():
|
||||
registry = ToolRegistry(FakeUEX())
|
||||
|
||||
Reference in New Issue
Block a user