flake8
-
reviewboard/webapi/resources/repository.py (Diff revision 1) Show all issues
Review Request #12334 — Created June 3, 2022 and submitted
Information | |
---|---|
david | |
Review Board | |
release-5.0.x | |
Reviewers | |
reviewboard | |
This change updates code which is instantiating repository objects
(almost entirely in unit tests) to ensure that the newscmtool_id
field is always properly set. Many of these were places where the unit
tests were instantiating theRepository
model directly, instead of
usingcreate_repository
. I've fixed those up to use the helper
instead.
Ran unit tests.
Commits: |
|
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+556 -314) |
Commits: |
|
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 3 (+556 -314) |
reviewboard/diffviewer/tests/test_forms.py (Diff revision 3) |
---|
While here, can we have this use
update_fields=
?
reviewboard/reviews/management/commands/fill-database.py (Diff revision 3) |
---|
Let's move
path
to the next line, to be consistent.
reviewboard/reviews/tests/test_default_reviewer.py (Diff revision 3) |
---|
While here, let's move
path
to the next line.