Skip to content

Commit 9c2fc81

Browse files
committed
fix: add _enable_network_isolation to MockModelBuilderServers test fixture
The mock directly inherits _ModelBuilderServers without going through ModelBuilder.__post_init__ which initializes this attribute.
1 parent 305d3f4 commit 9c2fc81

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎sagemaker-serve/tests/unit/servers/test_model_builder_servers.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def __init__(self):
4747
self.framework_version = None
4848
self._is_mlflow_model = False
4949
self.config_name = None
50+
self._enable_network_isolation = False
5051

5152
def _deploy_local_endpoint(self, **kwargs):
5253
return Mock()

0 commit comments

Comments
 (0)