Split reviewboard.site.tests into multiple test modules.
Review Request #12300 — Created May 24, 2022 and submitted
reviewboard.site.tests
was getting a bit big, covering many areas of
Local Sites. With some new tests coming, it seemed time to split this
up.This creates a series of new test cases for different areas of the app,
moving tests into them. The tests themselves have not changed, aside
from the removal of the oldimport reviewboard.site.templatetags
hack
for our{% url %}
replacement, which is not needed with modern Django
template configuration.One test for managing OAuth2 Application access when Local Site
membership changes has been moved intoreviewboard/oauth/tests.py
.
Unit tests pass.
- Change Summary:
-
Switched to the modern form of
super()
. - Commits:
-
Summary ID 07782fd2e755e690080f42a35059c66ed51089d0 9ba156fee3abfb650d056eecee447e7b7ca70258 - Diff:
-
Revision 2 (+716 -658)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.