Skip to content

Commit

Permalink
fix pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
falkoschindler committed Dec 18, 2023
1 parent 4e66239 commit 2c5773b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_cameras.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ async def test_simulated_camera():
async def test_usb_camera():
if platform.system() != 'Linux':
pytest.skip('UsbCamera is only supported on Linux.')
connected_uids = list(UsbCameraProvider.scan_for_cameras())
connected_uids = list(await UsbCameraProvider.scan_for_cameras())
if len(connected_uids) == 0:
pytest.skip('No USB camera detected. This test requires a physical USB camera to be connected.')
camera = UsbCamera(id=connected_uids[0])
Expand Down

0 comments on commit 2c5773b

Please sign in to comment.