Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request juju#954 from sed-i/patch-1
juju#954 #### Description Every integration test currently ends with a warning: ``` tests/integration/test_bundle.py::test_loki_receives_logs /home/ubuntu/code/o11y/cos-lite-bundle/.tox/integration/lib/python3.10/site-packages/juju/model.py:1513: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead log.warn("relate is deprecated and will be removed. Use integrate instead.") -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ``` Fixes: - Use `warning` instead of `warn`. #### QA Steps Run any integration test that includes a `relate` call and make sure the warning is gone from the summary.
- Loading branch information