Skip to content

Commit 5a7c2fc

Browse files
committed
remove irrelevant test
1 parent 608eee1 commit 5a7c2fc

1 file changed

Lines changed: 0 additions & 31 deletions

File tree

sdk-platform-java/hermetic_build/library_generation/tests/cli/entry_point_unit_tests.py

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -155,37 +155,6 @@ def test_generate_non_monorepo_with_library_names_full_generation(
155155
target_api_path=None,
156156
)
157157

158-
@patch("library_generation.cli.entry_point.generate_from_yaml")
159-
def test_generate_monorepo_with_common_protos_without_library_names_triggers_full_generation(
160-
self,
161-
generate_from_yaml,
162-
):
163-
"""
164-
this tests confirms the behavior of generation of a monorepo with
165-
common protos.
166-
generate() should call generate_from_yaml() with
167-
target_library_names=None in order to trigger the full generation
168-
"""
169-
config_path = f"{test_resource_dir}/monorepo_with_common_protos.yaml"
170-
self.assertTrue(GenerationConfig.from_yaml(config_path).is_monorepo())
171-
# we call the implementation method directly since click
172-
# does special handling when a method is annotated with @main.command()
173-
generate_impl(
174-
generation_config_path=config_path,
175-
generation_input=None,
176-
library_names=None,
177-
api_path=None,
178-
repository_path=".",
179-
api_definitions_path=".",
180-
)
181-
generate_from_yaml.assert_called_with(
182-
config=ANY,
183-
repository_path=ANY,
184-
api_definitions_path=ANY,
185-
target_library_names=None,
186-
target_api_path=None,
187-
)
188-
189158
@patch("library_generation.cli.entry_point.generate_from_yaml")
190159
def test_generate_monorepo_with_common_protos_with_library_names_triggers_full_generation(
191160
self,

0 commit comments

Comments
 (0)