|
13 | 13 | # See the License for the specific language governing permissions and
|
14 | 14 | # limitations under the License.
|
15 | 15 | #
|
16 |
| -import hsfs |
| 16 | +import hopsworks |
17 | 17 | import pytest
|
18 | 18 | from furl import furl
|
19 | 19 | from hsfs.client import auth, exceptions, online_store_rest_client
|
@@ -50,7 +50,7 @@ def test_setup_rest_client_external(self, mocker, monkeypatch):
|
50 | 50 | def client_get_instance():
|
51 | 51 | return MockExternalClient()
|
52 | 52 |
|
53 |
| - monkeypatch.setattr(hsfs.client, "get_instance", client_get_instance) |
| 53 | + monkeypatch.setattr(hopsworks.client, "get_instance", client_get_instance) |
54 | 54 | variable_api_mock = mocker.patch(
|
55 | 55 | "hsfs.core.variable_api.VariableApi.get_loadbalancer_external_domain",
|
56 | 56 | return_value="app.hopsworks.ai",
|
@@ -86,7 +86,7 @@ def test_setup_online_store_rest_client_internal(self, mocker, monkeypatch):
|
86 | 86 | def client_get_instance():
|
87 | 87 | return MockInternalClient()
|
88 | 88 |
|
89 |
| - monkeypatch.setattr(hsfs.client, "get_instance", client_get_instance) |
| 89 | + monkeypatch.setattr(hopsworks.client, "get_instance", client_get_instance) |
90 | 90 | variable_api_mock = mocker.patch(
|
91 | 91 | "hsfs.core.variable_api.VariableApi.get_service_discovery_domain",
|
92 | 92 | return_value="consul",
|
|
0 commit comments