Split reviewboard.extensions.tests into multiple test modules.

Review Request #11637 — Created May 29, 2021 and submitted — Latest diff uploaded

Information

Review Board
release-3.0.x

Reviewers

This test suite had grown too big to manage, and a lot of the testing
patterns being used are far from ideal. With more work on the horizon,
we want to split this up and make it easier to maintain a test suite.

This change simply splits the tests.py into a series of test_*.py
files. No logic or documentation has been changed, though module-level
docstrings were added. Cleanup would happen in another change.

Unit tests passed.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Split reviewboard.extensions.tests into multiple test modules.
This test suite had grown too big to manage, and a lot of the testing patterns being used are far from ideal. With more work on the horizon, we want to split this up and make it easier to maintain a test suite. This change simply splits the `tests.py` into a series of `test_*.py` files. No logic or documentation has been changed. That would come in a future change.
f90130f52c154fbbfa12e7c8dccb5d4c12c71fcb Christian Hammond
reviewboard/extensions/tests.py
reviewboard/extensions/tests/__init__.py
reviewboard/extensions/tests/test_action_hooks.py
reviewboard/extensions/tests/test_admin_widget_hook.py
reviewboard/extensions/tests/test_api_extra_data_access_hook.py
reviewboard/extensions/tests/test_avatar_service_hook.py
reviewboard/extensions/tests/test_email_hook.py
reviewboard/extensions/tests/test_hosting_service_hook.py
reviewboard/extensions/tests/test_navigation_bar_hook.py
reviewboard/extensions/tests/test_sandbox_hooks.py
reviewboard/extensions/tests/test_webapi_capabilities_hook.py
reviewboard/extensions/tests/testcases.py
Loading...