Fix unit test

This commit is contained in:
Remi Cadene
2024-09-12 02:43:21 +02:00
parent 53ebf9cf9f
commit cd4d2257d3
4 changed files with 29 additions and 9 deletions

View File

@@ -8,14 +8,16 @@ Example of running a specific test:
pytest -sx tests/test_cameras.py::test_camera
```
Example of running test on a real OpenCV camera connected to the computer:
Example of running test on a real camera connected to the computer:
```bash
pytest -sx tests/test_cameras.py::test_camera[opencv]
pytest -sx tests/test_cameras.py::test_camera[intelrealsense]
```
Example of running test on a mocked version of an OpenCV camera:
Example of running test on a mocked version of the camera:
```bash
pytest -sx -k "mocked_opencv" tests/test_cameras.py::test_camera
pytest -sx -k "mocked_intelrealsense" tests/test_cameras.py::test_camera
```
"""