Centralize the license providers used in unit tests.
Review Request #14469 — Created June 23, 2025 and updated — Latest diff uploaded
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
inlicense1
andlicense2
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
reviewboard/licensing/tests/providers.py |
---|
reviewboard/licensing/tests/test_licenses_view.py |
---|