Centralize the license providers used in unit tests.
Review Request #14469 — Created June 23, 2025 and updated
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.
Summary | ID |
---|---|
6f968e0eca1dd1c7a8aeddf3a249290f033d2165 |
Description | From | Last Updated |
---|---|---|
'reviewboard.licensing.registry.LicenseProviderRegistry' imported but unused Column: 1 Error code: F401 |
![]() |
|
'collections.abc.Iterable' imported but unused Column: 5 Error code: F401 |
![]() |
|
Too many blank lines. |
|
|
Can we put these in bullet points? |
|
|
Can we alphabetize the keys? |
|
|
Bullet points? |
|
|
This looks like it was meant for the get_check_license_request method below. |
![]() |
|
This is also not the right documentation for this method. |
![]() |
- Change Summary:
-
Removed unused imports.
- Commits:
-
Summary ID c86bb6fe32d5039355ec2fd528c99a0ced45244e a823f5de87c619228aac35252063db712d28396c
Checks run (2 succeeded)
- Change Summary:
-
- Switched some docs from key definition form to bullet point form.
- Removed a blank line.
- Alphabetized keys in a dictionary.
- Commits:
-
Summary ID a823f5de87c619228aac35252063db712d28396c 6f968e0eca1dd1c7a8aeddf3a249290f033d2165