@@ -403,6 +403,7 @@ def test_devcontainer_usability(
403
403
cli_args: Dictionary, partial Add class object.
404
404
405
405
Raises:
406
+ AssertionError: If the assertion fails.
406
407
FileNotFoundError: If the 'npm' or 'docker' executable is not found in the PATH.
407
408
"""
408
409
# Set the resource_type to devcontainer
@@ -520,6 +521,9 @@ def test_run_success_add_plugin( # noqa: PLR0913, # pylint: disable=too-many-po
520
521
plugin_name: Name of the plugin to add.
521
522
expected_message: Expected success message.
522
523
expected_file_path: Expected file path for the plugin.
524
+
525
+ Raises:
526
+ AssertionError: If the assertion fails.
523
527
"""
524
528
cli_args ["plugin_type" ] = plugin_type
525
529
cli_args ["plugin_name" ] = plugin_name
@@ -765,6 +769,9 @@ def test_run_success_add_play_argspec(
765
769
tmp_path: Temporary directory path.
766
770
cli_args: Dictionary, partial Add class object.
767
771
monkeypatch: Pytest monkeypatch fixture.
772
+
773
+ Raises:
774
+ AssertionError: If the assertion fails.
768
775
"""
769
776
# Set the resource_type to play-argspec
770
777
cli_args ["resource_type" ] = "play-argspec"
@@ -827,6 +834,7 @@ def test_run_success_add_role(
827
834
monkeypatch: Pytest monkeypatch fixture.
828
835
829
836
Raises:
837
+ AssertionError: If the assertion fails.
830
838
ValueError: If the file is not found.
831
839
"""
832
840
# Set the resource_type to role
@@ -972,6 +980,7 @@ def test_role_galaxy(tmp_path: Path, cli_args: ConfigDict) -> None:
972
980
973
981
Raises:
974
982
AssertionError: If the assertion fails.
983
+ AssertionError: If the namespace or collection name mismatch.
975
984
"""
976
985
galaxy_file = tmp_path / "galaxy.yml"
977
986
initial_data : dict [str , Any ]
@@ -1015,6 +1024,9 @@ def test_run_success_add_pattern(
1015
1024
capsys: Pytest fixture to capture stdout and stderr.
1016
1025
cli_args: Dictionary, partial Add class object.
1017
1026
monkeypatch: Pytest monkeypatch fixture.
1027
+
1028
+ Raises:
1029
+ AssertionError: If the assertion fails.
1018
1030
"""
1019
1031
# Set the resource_type to pattern
1020
1032
cli_args ["resource_type" ] = "pattern"
0 commit comments