Remove parking slots annotator from tests (#19624)
This commit is contained in:
parent
e6d3f63086
commit
9c19f2af9e
@ -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."""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user