We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bb0e3c commit c6a9b7fCopy full SHA for c6a9b7f
.generator/test_cli.py
@@ -137,8 +137,6 @@ def mock_build_bazel_file(tmp_path, monkeypatch):
137
"""Creates the mock request file at the correct path inside a temp dir."""
138
# Create the path as expected by the script: .librarian/build-request.json
139
bazel_build_path = f"{SOURCE_DIR}/google/cloud/language/v1/BUILD.bazel"
140
- from pathlib import Path
141
-
142
bazel_build_dir = tmp_path / Path(bazel_build_path).parent
143
os.makedirs(bazel_build_dir)
144
build_bazel_file = bazel_build_dir / os.path.basename(bazel_build_path)
0 commit comments