Skip to content

Commit e7bc455

Browse files
authored
chore: declare pytest.mark.machine (#263)
Without the declaration, we get a warning in CI: ``` tests/integration/test_machine.py:14 /home/runner/work/jubilant/jubilant/tests/integration/test_machine.py:14: PytestUnknownMarkWarning: Unknown pytest.mark.machine - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html pytestmark = pytest.mark.machine ```
1 parent aea84d0 commit e7bc455

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ reportPrivateUsage = false # silence errors about use of _from_dict outside cla
136136
reportUnnecessaryTypeIgnoreComment = "error"
137137

138138
[tool.pytest.ini_options]
139+
markers = [
140+
"machine: integration tests that require a Juju machine model",
141+
]
139142
pythonpath = [
140143
"."
141144
]

0 commit comments

Comments
 (0)