Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Antonio Osorio <[email protected]>
  • Loading branch information
JAORMX committed Jan 20, 2025
1 parent a1fdb8a commit e449357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pipeline/workspace/test_workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ async def test_add_workspaces(args, existing_workspaces, expected_message):

# We'll also patch DbRecorder to ensure no real DB operations happen
with patch(
"codegate.pipeline.cli.commands.WorkspaceCrud", autospec=True
"codegate.workspaces.crud.WorkspaceCrud", autospec=True
) as mock_recorder_cls:
mock_recorder = mock_recorder_cls.return_value
workspace_commands.workspace_crud = mock_recorder
Expand Down

0 comments on commit e449357

Please sign in to comment.