Fix warnings and deprecations in tests.

Review Request #13566 — Created Feb. 21, 2024 and submitted — Latest diff uploaded

Information

RBTools
release-5.x

Reviewers

We had a handful of things in the RBTools that were hitting our own
deprecated code paths. This change cleans all of those up.

This change also adds a few things to our warnings ignore list, and
moves the entire pytest configuration into setup.cfg to match our other
codebases.

Ran unit tests. Saw everything run with no warnings.

Diff Revision 1

This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.

orig
1
2

Commits

First Last Summary ID Author
Fix warnings and deprecations in tests.
We had a handful of things in the RBTools that were hitting our own deprecated code paths. This change cleans all of those up. This change also adds a few things to our warnings ignore list, and moves the entire pytest configuration into setup.cfg to match our other codebases. Testing Done: - Ran unit tests. Saw everything run with no warnings.
05906ed8ac983d7db75b7f9d413e6a02d8faf060 David Trowbridge
pytest.ini
setup.cfg
rbtools/api/cache.py
rbtools/api/request.py
rbtools/api/tests/test_http_request.py
rbtools/api/tests/test_resource.py
rbtools/api/transport/sync.py
rbtools/clients/tests/test_mercurial.py
Loading...