mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-04 20:47:42 +03:00
Fix test
This commit is contained in:
parent
a5f6c754de
commit
41951c6fc8
@ -91,7 +91,7 @@ class TestLocalObjectDetector(unittest.TestCase):
|
|||||||
"frigate.detectors.api_types",
|
"frigate.detectors.api_types",
|
||||||
{det_type: Mock() for det_type in DetectorTypeEnum},
|
{det_type: Mock() for det_type in DetectorTypeEnum},
|
||||||
)
|
)
|
||||||
@patch("frigate.object_detection.load_labels")
|
@patch("frigate.object_detection.base.load_labels")
|
||||||
def test_detect_given_tensor_input_should_return_lfiltered_detections(
|
def test_detect_given_tensor_input_should_return_lfiltered_detections(
|
||||||
self, mock_load_labels
|
self, mock_load_labels
|
||||||
):
|
):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user