flake8
passed.
JSHint
passed.
Review Request #11759 — Created July 29, 2021 and submitted
Information | |
---|---|
chipx86 | |
Review Board | |
release-4.0.x | |
Reviewers | |
reviewboard | |
TestCase.create_diffcommit()
takes in diff files and runs them through
the diff parsing andFileDiff
creation code, which is sometimes
overkill (or completely unwanted) for a test.This change adds a new
with_diff=
argument to this method, which can
turn off this behavior. When passingwith_diff=False
, theDiffCommit
will be created in the database directly, without any additional
processing, and without aFileDiff
.
Unit tests pass.
Made use of this new argument in an upcoming change.
Summary | |
---|---|