Skip to content

Commit ec0e8ec

Browse files
committed
testcase modified
1 parent be8098c commit ec0e8ec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/units/test_workspaces.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ def test_lock_workspace(
484484

485485
# Verify PATCH request to lock endpoint
486486
call_args = mock_transport.request.call_args
487-
assert call_args[0][0] == "PATCH"
487+
assert call_args[0][0] == "POST"
488488
assert "workspaces/ws-123/actions/lock" in call_args[0][1]
489489

490490
payload = call_args[1]["json_body"]
@@ -504,7 +504,7 @@ def test_unlock_workspace(
504504

505505
# Verify PATCH request to unlock endpoint
506506
call_args = mock_transport.request.call_args
507-
assert call_args[0][0] == "PATCH"
507+
assert call_args[0][0] == "POST"
508508
assert "workspaces/ws-123/actions/unlock" in call_args[0][1]
509509

510510
def test_force_unlock_workspace(

0 commit comments

Comments
 (0)