Skip to content

Commit 8b09d69

Browse files
committed
Fix test names
1 parent 62bc94d commit 8b09d69

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/unit/sagemaker/serverless/test_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ def test_deploy_raises_error_on_failure(mock_client):
5656
model.deploy("my-function", timeout=3, memory_size=128, wait=True)
5757

5858

59-
def test_destroy():
59+
def test_delete_model():
6060
model = LambdaModel(IMAGE_URI, ROLE, client=mock_client)
6161
model.delete_model() # NOTE: This method is a no-op.

tests/unit/sagemaker/serverless/test_predictor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_predict(mock_client):
4545
assert prediction == {"class": "cat"}
4646

4747

48-
def test_destroy(mock_client):
48+
def test_delete_endpoint(mock_client):
4949
predictor = LambdaPredictor(FUNCTION_NAME, client=mock_client)
5050

5151
predictor.delete_endpoint()

0 commit comments

Comments
 (0)