def METHOD_NAME(mocker, cobbler_api):
    # Arrange
    settings_mock = mocker.MagicMock()
    settings_mock.webdir = "/my/custom/webdir"
    mocker.patch.object(cobbler_api, "settings", return_value=settings_mock)
    mock_mkdir = mocker.patch("cobbler.utils.filesystem_helpers.mkdir")
    mock_copyfile = mocker.patch("cobbler.utils.filesystem_helpers.copyfile")
    # Act
    filesystem_helpers.create_web_dirs(cobbler_api)
    # Assert
    assert mock_mkdir.call_count == 9
    assert mock_copyfile.call_count == 2