Skip to content

Commit e0fbccf

Browse files
committed
Small fix for v.3.12
1 parent 4599e41 commit e0fbccf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tpu/test_tpu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def test_creating_tpu(mock_tpu_client: MagicMock, operation: MagicMock) -> None:
7474

7575
def test_delete_tpu(mock_tpu_client: MagicMock) -> None:
7676
delete_tpu.delete_cloud_tpu(PROJECT_ID, ZONE, TPU_NAME)
77-
mock_tpu_client.delete_node.called_once()
77+
mock_tpu_client.delete_node.assert_called_once()
7878

7979

8080
def test_creating_with_startup_script(

0 commit comments

Comments
 (0)