from usb_ids import ( HUDDLY_VID, LOGITECH_VID, is_c920_pid, is_fleet_video, is_rally_pid, ) def test_c920_is_fleet_huddly_and_rally_are_not(): assert is_c920_pid(0x08E5) assert is_fleet_video(LOGITECH_VID, 0x08E5) assert not is_fleet_video(HUDDLY_VID, 0x0021) assert not is_fleet_video(LOGITECH_VID, 0x0881) assert is_rally_pid(0x0881)