Skip to content

Commit

Permalink
Rename docker_sit to agent_plugin_integration
Browse files Browse the repository at this point in the history
To have both a more meaningful and consistent naming, this
renames the docker_sit test to agent_plugin_integration.

Change-Id: Ia8273d985197961b51ec139edcd49970e4470a0b
  • Loading branch information
rene-slowenski-checkmk committed Jan 14, 2025
1 parent dcb8050 commit 7b23f57
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ section-order = [
werks = ["werks"]
cmc_proto = ["cmc_proto"]
testlib = ["tests.testlib"]
integrationtests = ["tests.integration"]
integrationtests = ["tests.agent_plugin_integration", "tests.integration"]
compositiontests = ["tests.composition"]
unittests = ["tests.unit", "tests.plugins_integration", "tests.update"]
uitests = ["tests.gui_crawl", "tests.gui_e2e"]
Expand Down
14 changes: 7 additions & 7 deletions tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ AGENT_PLUGIN_UNIT_TEST_FILES_PY2 := $(subst agent-plugin-unit,agent-plugin-unit/
$(foreach VERS,$(AGENT_PLUGIN_PYTHON_VERSIONS),test-agent-plugin-unit-py$(VERS)-docker) \
test-bandit test-code-quality test-code-quality-docker
test-docker test-docker-docker \
test-docker-sit test-docker-sit-docker \
test-integration-agent-plugin test-integration-agent-plugin-docker \
test-format-python test-format-python-docker \
test-format-shell test-format-shell-docker \
format-toml test-format-toml test-format-toml-docker \
Expand Down Expand Up @@ -104,8 +104,8 @@ help:
@echo "test-cycles-docker - Run cycles check in docker"
@echo "test-docker - Run docker tests"
@echo "test-docker-docker - Run docker tests in docker"
@echo "test-docker-sit - Run docker system integration tests"
@echo "test-docker-sit-docker - Run docker system integration tests in docker"
@echo "test-integration-agent-plugin - Run agent plugin integration tests"
@echo "test-integration-agent-plugin-docker - Run agent plugin integration tests in docker"
@echo "test-format-bazel - Run the Bazel formatting"
@echo "test-format-bazel-docker - Run the Bazel formatting in docker"
@echo "test-format-python - Run formatting tests"
Expand Down Expand Up @@ -238,12 +238,12 @@ test-docker:
$(SHELLCHECK) -x $(SHELLCHECK_OUTPUT_ARGS) ../docker_image/docker-entrypoint.sh
$(PYTEST) -x -T docker --log-cli-level=INFO docker

test-docker-sit-docker:
test-integration-agent-plugin-docker:
DOCKER_RUN_ADDOPTS="-v $$HOME/.docker/config.json:$$HOME/.docker/config.json -v $$HOME/.cmk-credentials:$$HOME/.cmk-credentials --network=host -e BRANCH -e HOME -e WORKSPACE -e VERSION -e EDITION" \
../scripts/run-in-docker.sh make --quiet test-docker-sit
../scripts/run-in-docker.sh make --quiet test-integration-agent-plugin

test-docker-sit:
$(PYTEST) -x -T docker_sit --log-cli-level=INFO docker_sit
test-integration-agent-plugin:
$(PYTEST) -x -T agent_plugin_integration --log-cli-level=INFO agent_plugin_integration

test-format-python: test-format-python-sort test-format-python-format

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ def _checkmk(client: docker.DockerClient) -> Iterator[CheckmkApp]:

@pytest.fixture(name="tmp_path_session", scope="session")
def _tmp_path_session(tmp_path_factory: pytest.TempPathFactory) -> Path:
return tmp_path_factory.mktemp("docker_sit")
return tmp_path_factory.mktemp("agent_plugin_integration")
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ def pytest_internalerror(excinfo: pytest.ExceptionInfo) -> None:
"unit",
"pylint",
"docker",
"docker_sit",
"agent-integration",
"agent_plugin_integration",
"agent-plugin-unit",
"integration",
"integration_redfish",
Expand Down

0 comments on commit 7b23f57

Please sign in to comment.