File size: 628 Bytes
51ff9e5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
## Introduction

This folder contains unit tests that could be run locally.

Run all test:

```bash
poetry run pytest ./tests/unit
```

Run specific test file:

```bash
poetry run pytest ./tests/unit/test_llm_fncall_converter.py
```

Run specific unit test

```bash
poetry run pytest ./tests/unit/test_llm_fncall_converter.py::test_convert_tool_call_to_string
```

For a more verbose output, to above calls the `-v` flag can be used (even more verbose: `-vv` and `-vvv`):

```bash
poetry run pytest -v ./tests/unit/test_llm_fncall_converter.py
```

More details see [pytest doc](https://docs.pytest.org/en/latest/contents.html)