Skip to content

Commit

Permalink
pin pytest operator
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldmitry committed Jan 24, 2025
1 parent cbf3c77 commit ad047ae
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ dev = [
"coverage[toml]",
"juju",
"pydantic",
"pytest-operator",
# newer versions don't work well when charmcraft pack produces more than 1 file
# build_charm only processes the 1st file
"pytest-operator==0.35.0",
"pytest",
"ruff",
"tenacity",
"sh",
"pyright",
"ops[testing]"
"ops[testing]",
]

[tool.coverage.run]
Expand Down
1 change: 1 addition & 0 deletions tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ async def parca_charm(ops_test: OpsTest):
"""Parca charm used for integration testing."""
charm = await ops_test.build_charm(".")
# TODO remove noble_charm_path once we have a working 22.04 rev
# and unpin pytest-operator
noble_charm_path = charm.parent / "[email protected]"
return noble_charm_path

Expand Down
8 changes: 4 additions & 4 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ad047ae

Please sign in to comment.