Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
/shadow-*.tar.*
/lib/getdate.c
/libsubid/subid.h
+
+.venv
+__pycache__/
+tests/system/artifacts/
+tests/system/pytest.log
--- /dev/null
+# Configuration file for multihost tests.
+
+from __future__ import annotations
+
+from pytest_mh import MultihostPlugin
+
+from framework.config import ShadowMultihostConfig
+
+# Load additional plugins
+pytest_plugins = (
+ "pytest_mh",
+ "pytest_ticket",
+)
+
+
+def pytest_plugin_registered(plugin) -> None:
+ if isinstance(plugin, MultihostPlugin):
+ plugin.config_class = ShadowMultihostConfig
--- /dev/null
+provisioned_topologies:
+- shadow
+domains:
+- id: shadow
+ hosts:
+ - hostname: shadow.test
+ role: shadow
+ conn:
+ type: podman
+ container: builder
+ artifacts:
+ - /var/log/*
\ No newline at end of file
--- /dev/null
+[[tool.mypy.overrides]]
+module = "jc.*"
+ignore_missing_imports = true
+
+[tool.isort]
+line_length = 119
+profile = "black"
+add_imports = "from __future__ import annotations"
+
+[tool.black]
+line-length = 119
--- /dev/null
+[pytest]
+pythonpath = . framework
+addopts = --strict-markers
+testpaths = tests
+ticket_tools = bz,gh,jira
--- /dev/null
+flaky
+jc
+pytest
+git+https://github.com/next-actions/pytest-mh@1.0.21
+git+https://github.com/next-actions/pytest-ticket
--- /dev/null
+[flake8]
+max-line-length = 119
+ignore = E203,W503
+exclude = .venv
+
+[pycodestyle]
+max-line-length = 119
+ignore = E203,W503
+exclude = .venv