There was an error while loading. Please reload this page.
1 parent be8098c commit ec0e8ecCopy full SHA for ec0e8ec
1 file changed
tests/units/test_workspaces.py
@@ -484,7 +484,7 @@ def test_lock_workspace(
484
485
# Verify PATCH request to lock endpoint
486
call_args = mock_transport.request.call_args
487
- assert call_args[0][0] == "PATCH"
+ assert call_args[0][0] == "POST"
488
assert "workspaces/ws-123/actions/lock" in call_args[0][1]
489
490
payload = call_args[1]["json_body"]
@@ -504,7 +504,7 @@ def test_unlock_workspace(
504
505
# Verify PATCH request to unlock endpoint
506
507
508
assert "workspaces/ws-123/actions/unlock" in call_args[0][1]
509
510
def test_force_unlock_workspace(
0 commit comments