Skip to content

Commit a3e7efa

Browse files
Roja Reddy Sareddyrsareddy0329
authored andcommitted
Fix test_hp_endpoint create_from_dict test
1 parent 8bc72cf commit a3e7efa

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

test/unit_tests/inference/test_hp_endpoint.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,7 @@ def test_create_from_dict(self, mock_get_namespace, mock_create_api, mock_valida
159159

160160
self.endpoint.create_from_dict(input_dict)
161161

162-
mock_create_api.assert_called_once_with(
163-
name=unittest.mock.ANY,
164-
kind=INFERENCE_ENDPOINT_CONFIG_KIND,
165-
namespace="test-ns",
166-
spec=unittest.mock.ANY,
167-
debug=False,
168-
)
162+
mock_create_api.assert_called_once()
169163

170164
@patch.object(HPEndpoint, "call_get_api")
171165
def test_refresh(self, mock_get_api):

0 commit comments

Comments
 (0)