We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1324d04 commit 94a02eaCopy full SHA for 94a02ea
.generator/test_cli.py
@@ -86,12 +86,12 @@ def test_build_bazel_target_success(mocker, caplog):
86
caplog.set_level(logging.INFO)
87
mocker.patch("cli.subprocess.run", return_value=MagicMock(returncode=0))
88
_build_bazel_target("mock/bazel:rule")
89
- assert "Bazel build for mock/bazel:rule completed successfully" in caplog.text
+ assert "Bazel build for mock/bazel:rule rule completed successfully" in caplog.text
90
91
92
def test_build_bazel_target_fails(mocker, caplog):
93
"""
94
- Tests that an exception is raised if the subprocess command fails.
+ Tests that ValueError is raised if the subprocess command fails.
95
96
caplog.set_level(logging.ERROR)
97
mocker.patch(
0 commit comments