forked from shadow-maint/shadow
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Iker Pedrosa <[email protected]>
- Loading branch information
Showing
8 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
provisioned_topologies: | ||
- shadow | ||
domains: | ||
- id: shadow | ||
hosts: | ||
- hostname: shadow.test | ||
role: shadow | ||
conn: | ||
type: podman | ||
container: builder | ||
artifacts: | ||
- /var/log/* |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[[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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[pytest] | ||
pythonpath = . framework | ||
addopts = --strict-markers | ||
testpaths = tests | ||
ticket_tools = bz,gh,jira |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
flaky | ||
jc | ||
pytest | ||
git+https://github.com/next-actions/[email protected] | ||
git+https://github.com/next-actions/pytest-ticket |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[flake8] | ||
max-line-length = 119 | ||
ignore = E203,W503 | ||
exclude = .venv | ||
|
||
[pycodestyle] | ||
max-line-length = 119 | ||
ignore = E203,W503 | ||
exclude = .venv |