Skip to content

Commit

Permalink
Merge pull request #10982 from marcusburghardt/test_ansible_file_remo…
Browse files Browse the repository at this point in the history
…ved_and_added

Remove test-function-check_playbook_file_removed_and_added test
  • Loading branch information
jan-cerny authored Aug 11, 2023
2 parents f32bd0c + ab8570f commit 3407ef7
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 439 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ find_python_module(jinja2 REQUIRED)
find_python_module(pytest)
find_python_module(pytest_cov)
find_python_module(json2html)
find_python_module(yamlpath)
find_python_module(mypy)
find_python_module(openpyxl)
find_python_module(pandas)
Expand Down Expand Up @@ -235,7 +234,6 @@ message(STATUS "python pytest module (optional): ${PY_PYTEST}")
message(STATUS "ansible-playbook module (optional): ${ANSIBLE_PLAYBOOK_EXECUTABLE}")
message(STATUS "ansible-lint module (optional): ${ANSIBLE_LINT_EXECUTABLE}")
message(STATUS "yamllint module (optional): ${YAMLLINT_EXECUTABLE}")
message(STATUS "yamlpath module (optional): ${PY_YAMLPATH}")
message(STATUS "python mypy module (optional): ${PY_MYPY}")
message(STATUS "BATS framework (optional): ${BATS_EXECUTABLE}")
message(STATUS "python sphinx module (optional): ${PY_SPHINX}")
Expand Down
13 changes: 0 additions & 13 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,6 @@ set_tests_properties("fix_rules" PROPERTIES LABELS quick)
set_tests_properties("fix_rules" PROPERTIES DEPENDS "test-rule-dir-json")
set_tests_properties("fix_rules" PROPERTIES FIXTURES_REQUIRED "rule-dir-json")

if(PY_YAMLPATH)
if(PY_PYTEST)
add_test(
NAME "test-function-check_playbook_file_removed_and_added"
COMMAND "${PYTHON_EXECUTABLE}" -m pytest ${PYTEST_COVERAGE_OPTIONS} "${CMAKE_CURRENT_SOURCE_DIR}/test_check_playbook_file_removed_and_added.py"
)
endif()
add_test(
NAME "ansible-file-removed-and-added"
COMMAND env "PYTHONPATH=$ENV{PYTHONPATH}" "${PYTHON_EXECUTABLE}" "${CMAKE_CURRENT_SOURCE_DIR}/test_ansible_file_removed_and_added.py" --ansible_dir "${CMAKE_BINARY_DIR}/ansible"
)
endif()

macro(mypy_test SCRIPT)
if(PY_MYPY)
add_test(
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

62 changes: 0 additions & 62 deletions tests/ansible_file_removed_and_added/file_removed_and_added.yml

This file was deleted.

This file was deleted.

Loading

0 comments on commit 3407ef7

Please sign in to comment.