We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6a9b7f commit 2ec1ce7Copy full SHA for 2ec1ce7
.generator/test_cli.py
@@ -138,7 +138,7 @@ def mock_build_bazel_file(tmp_path, monkeypatch):
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
bazel_build_dir = tmp_path / Path(bazel_build_path).parent
141
- os.makedirs(bazel_build_dir)
+ os.makedirs(bazel_build_dir, exist_ok=True)
142
build_bazel_file = bazel_build_dir / os.path.basename(bazel_build_path)
143
144
build_bazel_content = """load(
0 commit comments