Remove parking slots annotator from tests (#19624)

This commit is contained in:
Muhammad Rizwan Munawar 2025-03-10 22:51:11 +05:00 committed by GitHub
parent e6d3f63086
commit 9c19f2af9e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -72,7 +72,7 @@ def test_major_solutions():
cap = cv2.VideoCapture(str(TMP / PARKING_VIDEO))
assert cap.isOpened(), "Error reading video file"
parkingmanager = solutions.ParkingManagement(
json_file=str(TMP / PARKING_AREAS_JSON), model=str(TMP / PARKING_MODEL), show=True
json_file=str(TMP / PARKING_AREAS_JSON), model=str(TMP / PARKING_MODEL), show=False
)
while cap.isOpened():
success, im0 = cap.read()
@ -82,14 +82,6 @@ def test_major_solutions():
cap.release()
@pytest.mark.slow
def test_parking_annotator():
"""Test the parking annotator."""
from ultralytics import solutions
solutions.ParkingPtsSelection()
@pytest.mark.slow
def test_instance_segmentation():
"""Test the instance segmentation solution."""