Centralize the license providers used in unit tests.

Review Request #14469 — Created June 23, 2025 and updated — Latest diff uploaded

Information

Review Board
release-7.1.x

Reviewers

This moves the license providers built for the LicensesView unit tests
into a central module and documents them, in preparation for upcoming
unit tests that need to maintain the same behavior.

The classes are now named based on their purpose. License IDs are still
in license1 and license2 form just to keep things simple and
consistent for now.

Unit tests passed.

Tested with the upcoming changes introducing new suites of tests.

Diff Revision 2

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

orig
1
2
3

Commits

First Last Summary ID Author
Centralize the license providers used in unit tests.
This moves the license providers built for the `LicensesView` unit tests into a central module and documents them, in preparation for upcoming unit tests that need to maintain the same behavior. The classes are now named based on their purpose. License IDs are still in `license1` and `license2` form just to keep things simple and consistent for now.
a823f5de87c619228aac35252063db712d28396c Christian Hammond
reviewboard/licensing/tests/providers.py
reviewboard/licensing/tests/test_licenses_view.py
Loading...