> ## Documentation Index
> Fetch the complete documentation index at: https://www.getmaxim.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# TestPortkey

> Test Portkey functionality for Tests integration.

[View module source on GitHub](https://github.com/maximhq/maxim-py/blob/main/maxim/tests/test_portkey.py)

## [TestPortkeyIntegration](/sdk/python/references/tests/test_portkey)

```python theme={null}
class TestPortkeyIntegration(unittest.TestCase)
```

#### test\_portkey\_tool\_calls\_sync

```python theme={null}
def test_portkey_tool_calls_sync()
```

Test Portkey integration with tool calls (synchronous).

#### test\_portkey\_tool\_calls\_async

```python theme={null}
async def test_portkey_tool_calls_async()
```

Test Portkey integration with tool calls (asynchronous).

#### test\_tool\_call\_without\_tools\_parameter

```python theme={null}
def test_tool_call_without_tools_parameter()
```

Test normal conversation without tools.
