We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8e29f8 commit ce70121Copy full SHA for ce70121
tests/api/test_product_router.py
@@ -5,7 +5,6 @@
5
input request formats and return properly formatted responses.
6
"""
7
8
-# Mock sklearn before importing any memos modules to avoid import errors
9
from unittest.mock import Mock, patch
10
11
import pytest
@@ -21,8 +20,6 @@
21
20
_mock_mos_instance = Mock()
22
pr_module.MOS_PRODUCT_INSTANCE = _mock_mos_instance
23
pr_module.get_mos_product_instance = lambda: _mock_mos_instance
24
-
25
26
with patch("memos.mem_os.product.MOSProduct", return_value=_mock_mos_instance):
27
from memos.api import product_api
28
0 commit comments