def METHOD_NAME(self, args: PythonHookArgs, mocker: MockerFixture) -> None:
    """Test project."""
    ctx = Mock()
    project_class = mocker.patch(f"{MODULE}.PythonProject")
    assert PythonFunction(ctx, **args.dict()).project == project_class.return_value
    project_class.assert_called_once_with(args, ctx)